2019-07-19 14:55:30 +02:00
|
|
|
# Description: Exif and Iptc metadata manipulation library and tools.
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://www.exiv2.org/
|
2019-07-19 14:55:30 +02:00
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2019-08-30 16:21:05 +02:00
|
|
|
# Depends on: cmake
|
2019-07-19 14:55:30 +02:00
|
|
|
|
|
|
|
name=exiv2
|
2019-08-30 16:21:05 +02:00
|
|
|
version=0.27.2
|
2019-07-19 14:55:30 +02:00
|
|
|
release=1
|
2019-08-30 16:21:05 +02:00
|
|
|
source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz)
|
2019-07-19 14:55:30 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|