wok annotate libexif/receipt @ rev 25603
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 11:43:32 2023 +0000 (14 months ago) |
parents | bbb340edb2d2 |
children |
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@25603 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25603 | 20 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pankso@1277 | 23 # Rules to configure and make the package. |
pankso@1277 | 24 compile_rules() |
pankso@1277 | 25 { |
Hans-G?nter@21176 | 26 ./configure \ |
Hans-G?nter@21176 | 27 --prefix=/usr \ |
Hans-G?nter@21176 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@24739 | 29 make && |
Hans-G?nter@24739 | 30 make install DESTDIR=$DESTDIR |
pankso@1277 | 31 } |
pankso@1277 | 32 |
pankso@1277 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1277 | 34 genpkg_rules() |
pankso@1277 | 35 { |
Hans-G?nter@24739 | 36 cook_copy_files *.so* |
pankso@1277 | 37 } |