wok-next annotate exiv2/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | 7d5f27069b23 |
children | f48456621a9d |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
jozee@2725 | 2 |
jozee@2725 | 3 PACKAGE="exiv2" |
al@19741 | 4 VERSION="0.26" |
jozee@2725 | 5 CATEGORY="graphics" |
al@19741 | 6 SHORT_DESC="EXIF and IPTC metadata manipulation library and tools" |
jozee@2725 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
pankso@4228 | 9 WEB_SITE="http://www.exiv2.org/" |
al@20629 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/exiv2.html" |
jozee@2725 | 11 |
al@19741 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19741 | 13 WGET_URL="http://www.exiv2.org/builds/exiv2-$VERSION-trunk.tar.gz" |
al@19741 | 14 TARBALL_MD5="f936d2ca5cbe1e18c71ca2baa5e84fb4" |
al@19741 | 15 |
al@20556 | 16 BUILD_DEPENDS="cmake gettext zlib-dev expat-dev curl-dev libssh-dev" |
al@19741 | 17 SPLIT="exiv2-dev" |
pascal@15588 | 18 |
al@20519 | 19 compile_rules() { |
al@20556 | 20 # some MacOS meta files(?) treated as "bad" *.po files |
al@20556 | 21 find $src -type f -name '._*' -delete |
al@20556 | 22 |
al@20556 | 23 cmake \ |
al@20556 | 24 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20556 | 25 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@20556 | 26 -DEXIV2_ENABLE_BUILD_SAMPLES=OFF \ |
al@20556 | 27 -DEXIV2_ENABLE_BUILD_PO=ON \ |
al@20556 | 28 -DEXIV2_ENABLE_VIDEO=ON \ |
al@20556 | 29 -DEXIV2_ENABLE_WEBREADY=ON \ |
al@20556 | 30 . && |
al@20556 | 31 make && |
al@20556 | 32 make DESTDIR=$install install || return 1 |
al@20556 | 33 |
al@20556 | 34 # https://en.wikipedia.org/wiki/Linux_Software_Map |
al@20556 | 35 find $install -name '*.lsm' -delete |
jozee@2725 | 36 } |
jozee@2725 | 37 |
al@20519 | 38 genpkg_rules() { |
al@19741 | 39 case $PACKAGE in |
al@19741 | 40 exiv2) |
al@19741 | 41 copy @std |
al@19741 | 42 DEPENDS="expat libcurl libssh zlib" |
al@19741 | 43 ;; |
al@20556 | 44 *-dev) |
pascal@20608 | 45 DEPENDS="ncurses-dev" |
al@19741 | 46 copy @dev |
al@19741 | 47 ;; |
al@19741 | 48 esac |
jozee@2725 | 49 } |