wok annotate iso-codes/receipt @ rev 24653

updated i3status (2.7 -> 2.14)
author Hans-G?nter Theisgen
date Fri Mar 11 06:45:15 2022 +0100 (2022-03-11)
parents 2e290581f811
children 03c1f28bc496
rev   line source
pascal@13321 1 # SliTaz package receipt.
pascal@13321 2
pascal@13321 3 PACKAGE="iso-codes"
Hans-G?nter@22961 4 VERSION="4.4"
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
pascal@13321 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22961 12 WGET_URL="https://ftp.osuosl.org/pub/blfs/conglomeration/$PACKAGE/$TARBALL"
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@24419 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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@22961 33 make DESTDIR=$DESTDIR install
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 }