forked from ports/contrib
24 lines
546 B
Plaintext
24 lines
546 B
Plaintext
# Description: Exif and Iptc metadata manipulation library and tools.
|
|
# URL: http://www.exiv2.org/
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: expat cmake
|
|
|
|
name=exiv2
|
|
version=0.26
|
|
release=2
|
|
source=(https://github.com/Exiv2/exiv2/archive/v$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
|
|
}
|