wok view xdigger/receipt @ rev 22982

kdelibs: modified WGET_URL
author Hans-G?nter Theisgen
date Sat Feb 29 17:42:51 2020 +0100 (2020-02-29)
parents c43e651f7b1d
children 535c806240cc
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's| inpause) step = Tr.*|&\nwait_count = 0;|;s| && cheat||' runlevels.c
21 xmkmf
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/bin/X11/xdigger $fs/usr/bin
31 cp -a $stuff/*/ $fs
32 }