wok-current annotate exiv2/receipt @ rev 24314

updated vlgothic-fonts (20141206 -> 20200720)
author Hans-G?nter Theisgen
date Sat Jan 22 13:28:11 2022 +0100 (2022-01-22)
parents df869cf023e0
children 2a0479881723
rev   line source
jozee@2725 1 # SliTaz package receipt.
jozee@2725 2
jozee@2725 3 PACKAGE="exiv2"
pascal@23879 4 VERSION="0.27.3"
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 }