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

updated udftools (2.1 -> 2.2)
author Hans-G?nter Theisgen
date Tue Apr 28 17:35:06 2020 +0100 (2020-04-28)
parents 364099c9aff2
children 5baa9d957a85
rev   line source
jozee@2725 1 # SliTaz package receipt.
jozee@2725 2
jozee@2725 3 PACKAGE="exiv2"
Hans-G?nter@22750 4 VERSION="0.27.2"
jozee@2725 5 CATEGORY="graphics"
Hans-G?nter@22750 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"
Hans-G?nter@22750 12 WGET_URL="${WEB_SITE}builds/$TARBALL"
Hans-G?nter@22750 13
Hans-G?nter@22750 14 DEPENDS="expat gcc-lib-base zlib"
Hans-G?nter@22750 15 BUILD_DEPENDS="cmake expat-dev gcc-lib-base zlib-dev"
Hans-G?nter@22750 16
pankso@16269 17 HOST_ARCH="i486 arm"
jozee@2725 18
jozee@2725 19 # Rules to configure and make the package.
jozee@2725 20 compile_rules()
jozee@2725 21 {
Hans-G?nter@20899 22 mkdir build
Hans-G?nter@20899 23 cd build
Hans-G?nter@22750 24 cmake .. \
Hans-G?nter@22750 25 -G "Unix Makefiles" \
Hans-G?nter@20899 26 -DCMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@20899 27 cmake --build . &&
Hans-G?nter@20899 28 make -j 1 &&
pascal@15588 29 make DESTDIR=$DESTDIR install
jozee@2725 30 }
jozee@2725 31
jozee@2725 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2725 33 genpkg_rules()
jozee@2725 34 {
jozee@2725 35 mkdir -p $fs/usr/lib
Hans-G?nter@22750 36
Hans-G?nter@22750 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22750 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
jozee@2725 39 }