wok-next view xdigger/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }