wok-next annotate exiv2/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
pascal@21181 9 WEB_SITE="https://www.exiv2.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 16 BUILD_DEPENDS="cmake gettext-dev zlib-dev expat-dev curl-dev libssh-dev"
al@21020 17 SPLIT="$PACKAGE-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 }