wok annotate iso-codes/receipt @ rev 25608
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 09:05:42 2023 +0000 (18 months ago) |
parents | 03c1f28bc496 |
children |
rev | line source |
---|---|
pascal@13321 | 1 # SliTaz package receipt. |
pascal@13321 | 2 |
pascal@13321 | 3 PACKAGE="iso-codes" |
Hans-G?nter@24679 | 4 VERSION="4.9.0" |
pascal@13321 | 5 CATEGORY="utilities" |
Hans-G?nter@22961 | 6 SHORT_DESC="ISO-639, ISO-4217, ISO-3166 and ISO-3166-2 code lists and translations." |
pascal@13321 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@20672 | 9 WEB_SITE="https://salsa.debian.org/iso-codes-team/iso-codes" |
Hans-G?nter@22961 | 10 |
Hans-G?nter@24679 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24679 | 12 WGET_URL="$WEB_SITE/-/archive/v$VERSION/$PACKAGE-v$VERSION.tar.gz" |
pascal@13321 | 13 |
pascal@13321 | 14 DEPENDS="" |
Hans-G?nter@22961 | 15 BUILD_DEPENDS="gettext py3k" |
pascal@13321 | 16 |
pascal@24419 | 17 # What is the latest version available today? |
pascal@24419 | 18 current_version() |
pascal@24419 | 19 { |
pascal@25608 | 20 wget -O - https://salsa.debian.org/iso-codes-team/iso-codes/-/tags?sort=updated_desc 2>/dev/null | \ |
pascal@25608 | 21 sed '/item-title/!d;s|.*tags/v||;s|".*||;q' |
pascal@24419 | 22 } |
pascal@24419 | 23 |
pascal@13321 | 24 # Rules to configure and make the package. |
pascal@13321 | 25 compile_rules() |
pascal@13321 | 26 { |
Hans-G?nter@22961 | 27 ./configure \ |
Hans-G?nter@22961 | 28 --prefix=/usr \ |
Hans-G?nter@22961 | 29 --mandir=/usr/share/man \ |
Hans-G?nter@22961 | 30 --infodir=/usr/share/info \ |
pascal@13321 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22961 | 32 make && |
Hans-G?nter@24679 | 33 make install DESTDIR=$DESTDIR |
pascal@13321 | 34 } |
pascal@13321 | 35 |
pascal@13321 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13321 | 37 genpkg_rules() |
pascal@13321 | 38 { |
Hans-G?nter@22961 | 39 cp -a $install/usr $fs |
pascal@13321 | 40 } |