wok-current annotate xbattle/receipt @ rev 18274
Add coova-chilli
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 07 18:14:02 2015 +0200 (2015-08-07) |
parents | 01dc32ea5178 |
children | e6b7a2aaf2e1 |
rev | line source |
---|---|
pascal@13736 | 1 # SliTaz package receipt. |
pascal@13736 | 2 |
pascal@13736 | 3 PACKAGE="xbattle" |
pascal@13736 | 4 VERSION="5.4.1" |
pascal@13736 | 5 CATEGORY="games" |
pascal@13736 | 6 SHORT_DESC="Concurrent multi-player battle strategy game for X11." |
pascal@13736 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15604 | 8 LICENSE="other" |
pascal@13736 | 9 WEB_SITE="http://xbattle.sourcearchive.com" |
pascal@13736 | 10 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@13736 | 11 WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL" |
pascal@13740 | 12 SUGGESTED="xorg-xhost" |
pascal@13736 | 13 |
pascal@13736 | 14 DEPENDS="xorg" |
pascal@13736 | 15 BUILD_DEPENDS="xorg-imake xorg-dev" |
pascal@13736 | 16 |
pascal@13736 | 17 # Rules to configure and make the package. |
pascal@13736 | 18 compile_rules() |
pascal@13736 | 19 { |
pascal@13736 | 20 cd $src |
pascal@13738 | 21 patch -p0 < $stuff/pseudo_color.u |
pascal@13736 | 22 xmkmf |
pascal@13736 | 23 make && make DESTDIR=$DESTDIR install |
pascal@13736 | 24 } |
pascal@13736 | 25 |
pascal@13736 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13736 | 27 genpkg_rules() |
pascal@13736 | 28 { |
pascal@13736 | 29 cp -a $install/usr $fs |
pascal@13738 | 30 cp -a $stuff/*/ $fs |
pascal@13736 | 31 } |