wok-next view xdigger/receipt @ rev 16992

mate-polkit-dev: Remove wget url
author Yuri Pourre <yuripourre@gmail.com>
date Sat Aug 09 13:07:57 2014 -0300 (2014-08-09)
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 }