wok view iso-codes/receipt @ rev 25623
created recipes for gtkam and gtkam-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Sep 29 10:56:02 2023 +0100 (13 months ago) |
parents | 03c1f28bc496 |
children |
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 py3k"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://salsa.debian.org/iso-codes-team/iso-codes/-/tags?sort=updated_desc 2>/dev/null | \
21 sed '/item-title/!d;s|.*tags/v||;s|".*||;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 }