wok-next view xdigger/receipt @ rev 19507
Update SliTaz projects: slitaz-base-files(316), slitaz-tools(1006), tazinst(84), tazlito(443), tazpanel(609), tazpkg(928), tazusb(193), tazweb(173).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 20 00:33:44 2016 +0200 (2016-11-20) |
parents | c43e651f7b1d |
children | d5aab818505e |
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 }