wok view xdigger/receipt @ rev 13766
Up: lrzip (0.614)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Jan 03 15:02:06 2013 +0300 (2013-01-03) |
parents | 1e2ad144e0db |
children | 380ffe05937a |
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 WEB_SITE="http://www.ibiblio.org/pub/Linux/games/arcade/xdigger.lsm"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
12 DEPENDS="xorg"
13 BUILD_DEPENDS="xorg-imake xorg-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's| inpause) step = Tr.*|&\nwait_count = 0;|;s| && cheat||' runlevels.c
20 xmkmf
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/bin/X11/xdigger $fs/usr/bin
30 cp -a $stuff/*/ $fs
31 }