wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="xbattle"
4 VERSION="5.4.1"
5 CATEGORY="games"
6 SHORT_DESC="Concurrent multi-player battle strategy game for X11."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://xbattle.sourcearchive.com"
9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL"
12 DEPENDS="xorg"
13 BUILD_DEPENDS="xorg-imake xorg-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p0 < $stuff/pseudo_color.u
20 xmkmf
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 cp -a $stuff/*/ $fs
29 }