mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-13 00:59:04 +08:00
28 lines
669 B
Bash
28 lines
669 B
Bash
pkgname=exiv2
|
|
pkgver=0.26
|
|
pkgrel=1
|
|
pkgdesc="Exif and Iptc metadata manipulation library and tools."
|
|
arch=('x86_64')
|
|
url="http://exiv2.org"
|
|
license=('GPL2')
|
|
depends=('gcc-libs' 'zlib' 'expat')
|
|
makedepends=('cmake')
|
|
source=($pkgname-$pkgver.tar.gz::"https://github.com/Exiv2/exiv2/archive/v$pkgver.tar.gz")
|
|
md5sums=('5a32bfa41b5e5409c9347b227350e100')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
cmake . \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DEXIV2_ENABLE_VIDEO=ON \
|
|
-DEXIV2_ENABLE_BUILD_PO=ON \
|
|
-DEXIV2_ENABLE_BUILD_SAMPLES=OFF \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|