wok-6.x annotate exiv2/receipt @ rev 21810

Add python-cffi, python-cparser & python-cryptography
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 17 18:44:53 2019 +0200 (2019-08-17)
parents 37d9b4cadcbe
children df869cf023e0
rev   line source
jozee@2725 1 # SliTaz package receipt.
jozee@2725 2
jozee@2725 3 PACKAGE="exiv2"
Hans-G?nter@20899 4 VERSION="0.27.0a"
jozee@2725 5 CATEGORY="graphics"
jozee@2725 6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools"
jozee@2725 7 MAINTAINER="jozee@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
pascal@21145 9 WEB_SITE="https://www.exiv2.org/"
Hans-G?nter@20899 10
Hans-G?nter@20899 11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
pascal@20203 12 WGET_URL="$WEB_SITE/builds/$TARBALL"
pankso@16269 13 HOST_ARCH="i486 arm"
jozee@2725 14
pascal@15588 15 DEPENDS="expat zlib gcc-lib-base"
Hans-G?nter@20899 16 BUILD_DEPENDS="cmake gcc-lib-base expat-dev zlib-dev"
pascal@15588 17
jozee@2725 18 # Rules to configure and make the package.
jozee@2725 19 compile_rules()
jozee@2725 20 {
Hans-G?nter@20899 21 mkdir build
Hans-G?nter@20899 22 cd build
Hans-G?nter@20899 23 cmake .. -G "Unix Makefiles" \
Hans-G?nter@20899 24 -DCMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@20899 25 cmake --build . &&
Hans-G?nter@20899 26 make -j 1 &&
pascal@15588 27 make DESTDIR=$DESTDIR install
jozee@2725 28 }
jozee@2725 29
jozee@2725 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2725 31 genpkg_rules()
jozee@2725 32 {
jozee@2725 33 mkdir -p $fs/usr/lib
pascal@15588 34 cp -a $install/usr/bin $fs/usr
pascal@15588 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
jozee@2725 36 }