wok annotate gweled/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 4a3989d30c80
children 120dd6158093
rev   line source
pascal@16182 1 # SliTaz package receipt.
pascal@16182 2
pascal@16182 3 PACKAGE="gweled"
pascal@16182 4 VERSION="0.9.1"
pascal@16182 5 CATEGORY="games"
pascal@16182 6 SHORT_DESC="Gweled game."
pascal@16182 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16182 8 LICENSE="GPL2"
pascal@16182 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16182 10 WEB_SITE="https://launchpad.net/$PACKAGE"
pascal@16182 11 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
pascal@16182 12
pascal@16182 13 DEPENDS="gtk+ librsvg libmikmod"
pascal@16182 14 BUILD_DEPENDS="wget intltool gtk+-dev librsvg-dev libmikmod-dev"
pascal@16182 15
pascal@24433 16 # What is the latest version available today?
pascal@24433 17 current_version()
pascal@24433 18 {
pascal@24433 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24433 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24433 21 }
pascal@24433 22
pascal@16182 23 # Rules to configure and make the package.
pascal@16182 24 compile_rules()
pascal@16182 25 {
pascal@16182 26 ./configure --prefix=/usr \
pascal@16182 27 --localstatedir=/var \
pascal@16182 28 --mandir=/usr/share/man \
pascal@16182 29 $CONFIGURE_ARGS &&
pascal@16182 30 make &&
pascal@16182 31 make DESTDIR=$DESTDIR install
pascal@16182 32 }
pascal@16182 33
pascal@16182 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16182 35 genpkg_rules()
pascal@16182 36 {
pascal@16182 37 cp -a $install/* $fs
pascal@16182 38 }