wok-current view iso-codes/receipt @ rev 25634

Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 14 08:12:37 2024 +0000 (11 months ago)
parents 03c1f28bc496
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="iso-codes"
4 VERSION="4.9.0"
5 CATEGORY="utilities"
6 SHORT_DESC="ISO-639, ISO-4217, ISO-3166 and ISO-3166-2 code lists and translations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://salsa.debian.org/iso-codes-team/iso-codes"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/-/archive/v$VERSION/$PACKAGE-v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="gettext python3"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --infodir=/usr/share/info \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }