wok annotate xbattle/receipt @ rev 13738

xbattle: add 24bits colors patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 26 13:16:19 2012 +0100 (2012-12-26)
parents 988ece7f9c48
children 01dc32ea5178
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@13736 8 WEB_SITE="http://xbattle.sourcearchive.com"
pascal@13736 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
pascal@13736 10 WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL"
pascal@13736 11
pascal@13736 12 DEPENDS="xorg"
pascal@13736 13 BUILD_DEPENDS="xorg-imake xorg-dev"
pascal@13736 14
pascal@13736 15 # Rules to configure and make the package.
pascal@13736 16 compile_rules()
pascal@13736 17 {
pascal@13736 18 cd $src
pascal@13738 19 patch -p0 < $stuff/pseudo_color.u
pascal@13736 20 xmkmf
pascal@13736 21 make && make DESTDIR=$DESTDIR install
pascal@13736 22 }
pascal@13736 23
pascal@13736 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13736 25 genpkg_rules()
pascal@13736 26 {
pascal@13736 27 cp -a $install/usr $fs
pascal@13738 28 cp -a $stuff/*/ $fs
pascal@13736 29 }