wok-next view exiv2/receipt @ rev 20585
Up cppunit (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 11:20:34 2018 +0300 (2018-04-14) |
parents | b19ddba309f9 |
children | 7d5f27069b23 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="exiv2"
4 VERSION="0.26"
5 CATEGORY="graphics"
6 SHORT_DESC="EXIF and IPTC metadata manipulation library and tools"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.exiv2.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.exiv2.org/builds/exiv2-$VERSION-trunk.tar.gz"
13 TARBALL_MD5="f936d2ca5cbe1e18c71ca2baa5e84fb4"
15 BUILD_DEPENDS="cmake gettext zlib-dev expat-dev curl-dev libssh-dev"
16 SPLIT="exiv2-dev"
18 compile_rules() {
19 # some MacOS meta files(?) treated as "bad" *.po files
20 find $src -type f -name '._*' -delete
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_INSTALL_LIBDIR=lib \
25 -DEXIV2_ENABLE_BUILD_SAMPLES=OFF \
26 -DEXIV2_ENABLE_BUILD_PO=ON \
27 -DEXIV2_ENABLE_VIDEO=ON \
28 -DEXIV2_ENABLE_WEBREADY=ON \
29 . &&
30 make &&
31 make DESTDIR=$install install || return 1
33 # https://en.wikipedia.org/wiki/Linux_Software_Map
34 find $install -name '*.lsm' -delete
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 exiv2)
40 copy @std
41 DEPENDS="expat libcurl libssh zlib"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }