wok-next view exiv2/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.exiv2.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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-dev zlib-dev expat-dev curl-dev libssh-dev"
17 SPLIT="$PACKAGE-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 }