wok-6.x annotate tintin++/receipt @ rev 24464
created recipes for dargui and dargui-lang
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 11:06:13 2022 +0100 (2022-02-17) |
parents | cfb9cedf55fe |
children | b5bcdb59cf13 |
rev | line source |
---|---|
toronado@11710 | 1 # SliTaz package receipt. |
toronado@11710 | 2 |
toronado@11710 | 3 PACKAGE="tintin++" |
Hans-G?nter@23700 | 4 VERSION="2.02.02" |
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" |
Hans-G?nter@22034 | 9 WEB_SITE="https://tintin.sourceforge.io" |
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@23700 | 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@23700 | 36 cp -a $install/* $fs |
toronado@11710 | 37 } |