wok view xdigger/receipt @ rev 25194

updated python-html2text (2017.10.4 -> 2019.8.11)
author Hans-G?nter Theisgen
date Wed Jul 13 10:52:13 2022 +0100 (2022-07-13)
parents 380ffe05937a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xdigger"
4 VERSION="1.0.10"
5 CATEGORY="games"
6 SHORT_DESC="Digger rewritten for X11."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.ibiblio.org/pub/Linux/games/arcade/xdigger.lsm"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
13 DEPENDS="xorg"
14 BUILD_DEPENDS="xorg-imake xorg-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i 's| inpause) step = Tr.*|&\nwait_count = 0;|;s| && cheat||' runlevels.c
28 xmkmf
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/bin/X11/xdigger $fs/usr/bin
38 cp -a $stuff/*/ $fs
39 }