wok annotate libexif/receipt @ rev 25031

Add fatcat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 09:25:51 2022 +0000 (2022-05-20)
parents f8a963794d31
children 5db546345599
rev   line source
pankso@1277 1 # SliTaz package receipt.
pankso@1277 2
pankso@1277 3 PACKAGE="libexif"
Hans-G?nter@24739 4 VERSION="0.6.24"
pankso@1277 5 CATEGORY="system-tools"
pankso@1277 6 SHORT_DESC="Reads and writes EXIF metainformation from and to image files."
pankso@1277 7 MAINTAINER="pankso@slitaz.org"
pascal@15472 8 LICENSE="LGPL2.1"
Hans-G?nter@24739 9 WEB_SITE="https://libexif.github.io/"
Hans-G?nter@21176 10
Hans-G?nter@24739 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@24739 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@21176 13
pankso@16095 14 HOST_ARCH="i486 arm"
pankso@1277 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24100 19 sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q'
pascal@24055 20 }
pascal@24055 21
pankso@1277 22 # Rules to configure and make the package.
pankso@1277 23 compile_rules()
pankso@1277 24 {
Hans-G?nter@21176 25 ./configure \
Hans-G?nter@21176 26 --prefix=/usr \
Hans-G?nter@21176 27 $CONFIGURE_ARGS &&
Hans-G?nter@24739 28 make &&
Hans-G?nter@24739 29 make install DESTDIR=$DESTDIR
pankso@1277 30 }
pankso@1277 31
pankso@1277 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1277 33 genpkg_rules()
pankso@1277 34 {
Hans-G?nter@24739 35 cook_copy_files *.so*
pankso@1277 36 }