wok-next view xdigger/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
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"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
14 BUILD_DEPENDS="imake xorg-dev"
16 compile_rules() {
17 sed -i 's| inpause) step = Tr.*|&\nwait_count = 0;|;s| && cheat||' runlevels.c
19 xmkmf
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr/bin
26 cp -a $install/usr/lib $fs/usr
27 cp -a $install/usr/bin/X11/xdigger $fs/usr/bin
28 cp -a $stuff/*/ $fs
29 DEPENDS="xorg"
30 }