opt/exiv2/Pkgfile
2020-06-21 20:21:42 +10:00

24 lines
558 B
Plaintext

# Description: Exif and Iptc metadata manipulation library and tools.
# URL: https://www.exiv2.org/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: cmake
name=exiv2
version=0.27.2
release=1
source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz)
build() {
mkdir build; cd build
cmake ../$name-$version \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DEXIV2_ENABLE_BUILD_PO=OFF \
-DEXIV2_ENABLE_BUILD_SAMPLES=OFF \
make
make DESTDIR=$PKG install
}