wok view tintin++/receipt @ rev 25106

linux-libre: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 14:39:56 2022 +0000 (2022-06-22)
parents cfb9cedf55fe
children b5bcdb59cf13
line source
1 # SliTaz package receipt.
3 PACKAGE="tintin++"
4 VERSION="2.02.02"
5 CATEGORY="games"
6 SHORT_DESC="Terminal-based MUD client."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://tintin.sourceforge.io"
11 SOURCE="tintin"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 DEPENDS="pcre"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/scandum/tintin/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd src &&
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }