wok-next view exiv2/receipt @ rev 21079
emacs: update dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 14:46:21 2018 +0200 (2018-12-22) |
parents | f48456621a9d |
children | 3bc985504162 |
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="http://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 }