wok annotate exiv2/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents f38ee01eaf10
children 0c82700f4deb
rev   line source
jozee@2725 1 # SliTaz package receipt.
jozee@2725 2
jozee@2725 3 PACKAGE="exiv2"
Hans-G?nter@24528 4 VERSION="0.27.5"
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@24978 9 WEB_SITE="https://exiv2.org/"
Hans-G?nter@20899 10
Hans-G?nter@24529 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24529 12 WGET_URL="https://github.com/Exiv2/$PACKAGE/archive/v$VERSION.tar.gz"
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
pascal@24436 19 # What is the latest version available today?
pascal@24436 20 current_version()
pascal@24436 21 {
pascal@24436 22 wget -O - https://exiv2.org/download.html 2>/dev/null | \
pascal@24436 23 sed '/Exiv2 v/!d;/ource/!d;s|.*v2-||;s|-.*||;q'
pascal@24436 24 }
pascal@24436 25
jozee@2725 26 # Rules to configure and make the package.
jozee@2725 27 compile_rules()
jozee@2725 28 {
Hans-G?nter@24528 29 mkdir _build &&
Hans-G?nter@24528 30 cd _build &&
Hans-G?nter@24528 31 cmake .. \
Hans-G?nter@22750 32 -G "Unix Makefiles" \
Hans-G?nter@24528 33 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@24528 34 cmake --build . &&
Hans-G?nter@24528 35 make &&
Hans-G?nter@24528 36 make install DESTDIR=$DESTDIR
jozee@2725 37 }
jozee@2725 38
jozee@2725 39 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2725 40 genpkg_rules()
jozee@2725 41 {
Hans-G?nter@24528 42 cook_copy_folders bin
Hans-G?nter@24528 43 cook_copy_files *.so*
jozee@2725 44 }