wok-current annotate xdigger/receipt @ rev 20194
Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 12 13:54:33 2018 +0100 (2018-02-12) |
parents | c43e651f7b1d |
children | 535c806240cc |
rev | line source |
---|---|
pascal@13733 | 1 # SliTaz package receipt. |
pascal@13733 | 2 |
pascal@13733 | 3 PACKAGE="xdigger" |
pascal@13733 | 4 VERSION="1.0.10" |
pascal@13733 | 5 CATEGORY="games" |
pascal@13733 | 6 SHORT_DESC="Digger rewritten for X11." |
pascal@13733 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@13733 | 9 WEB_SITE="http://www.ibiblio.org/pub/Linux/games/arcade/xdigger.lsm" |
pascal@13733 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13733 | 11 WGET_URL="$(dirname $WEB_SITE)/$TARBALL" |
pascal@13733 | 12 |
pascal@13733 | 13 DEPENDS="xorg" |
pascal@13733 | 14 BUILD_DEPENDS="xorg-imake xorg-dev" |
pascal@13733 | 15 |
pascal@13733 | 16 # Rules to configure and make the package. |
pascal@13733 | 17 compile_rules() |
pascal@13733 | 18 { |
pascal@13733 | 19 cd $src |
pascal@13743 | 20 sed -i 's| inpause) step = Tr.*|&\nwait_count = 0;|;s| && cheat||' runlevels.c |
pascal@13733 | 21 xmkmf |
pascal@13733 | 22 make && make DESTDIR=$DESTDIR install |
pascal@13733 | 23 } |
pascal@13733 | 24 |
pascal@13733 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13733 | 26 genpkg_rules() |
pascal@13733 | 27 { |
pascal@13733 | 28 mkdir -p $fs/usr/bin |
pascal@13733 | 29 cp -a $install/usr/lib $fs/usr |
pascal@13733 | 30 cp -a $install/usr/bin/X11/xdigger $fs/usr/bin |
pascal@13737 | 31 cp -a $stuff/*/ $fs |
pascal@13733 | 32 } |