wok annotate tintin++/receipt @ rev 25591
enet: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 22 11:01:59 2023 +0000 (14 months ago) |
parents | b5bcdb59cf13 |
children | 0262035dc1e7 |
rev | line source |
---|---|
toronado@11710 | 1 # SliTaz package receipt. |
toronado@11710 | 2 |
toronado@11710 | 3 PACKAGE="tintin++" |
Hans-G?nter@25357 | 4 VERSION="2.02.20" |
toronado@11710 | 5 CATEGORY="games" |
Hans-G?nter@22034 | 6 SHORT_DESC="Terminal-based MUD client." |
toronado@11710 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@25469 | 9 WEB_SITE="https://github.com/scandum/tintin" |
Hans-G?nter@22034 | 10 |
Hans-G?nter@22034 | 11 SOURCE="tintin" |
Hans-G?nter@22034 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@22034 | 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
toronado@11710 | 14 |
toronado@11710 | 15 DEPENDS="pcre" |
toronado@11710 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - https://github.com/scandum/tintin/releases 2>/dev/null | \ |
pascal@24304 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
toronado@11710 | 24 # Rules to configure and make the package. |
toronado@11710 | 25 compile_rules() |
toronado@11710 | 26 { |
Hans-G?nter@25357 | 27 cd src && |
toronado@11710 | 28 ./configure $CONFIGURE_ARGS && |
toronado@11710 | 29 make && |
toronado@11710 | 30 make install |
toronado@11710 | 31 } |
toronado@11710 | 32 |
toronado@11710 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
toronado@11710 | 34 genpkg_rules() |
toronado@11710 | 35 { |
Hans-G?nter@25357 | 36 cook_copy_folders bin |
toronado@11710 | 37 } |