wok-next view exiv2/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents 7d5f27069b23
children f48456621a9d
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/exiv2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.exiv2.org/builds/exiv2-$VERSION-trunk.tar.gz"
14 TARBALL_MD5="f936d2ca5cbe1e18c71ca2baa5e84fb4"
16 BUILD_DEPENDS="cmake gettext zlib-dev expat-dev curl-dev libssh-dev"
17 SPLIT="exiv2-dev"
19 compile_rules() {
20 # some MacOS meta files(?) treated as "bad" *.po files
21 find $src -type f -name '._*' -delete
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_INSTALL_LIBDIR=lib \
26 -DEXIV2_ENABLE_BUILD_SAMPLES=OFF \
27 -DEXIV2_ENABLE_BUILD_PO=ON \
28 -DEXIV2_ENABLE_VIDEO=ON \
29 -DEXIV2_ENABLE_WEBREADY=ON \
30 . &&
31 make &&
32 make DESTDIR=$install install || return 1
34 # https://en.wikipedia.org/wiki/Linux_Software_Map
35 find $install -name '*.lsm' -delete
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 exiv2)
41 copy @std
42 DEPENDS="expat libcurl libssh zlib"
43 ;;
44 *-dev)
45 DEPENDS="ncurses-dev"
46 copy @dev
47 ;;
48 esac
49 }