wok-6.x annotate iso-codes/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | b78e79c31b1f |
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@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@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 } |