wok view xbattle/receipt @ rev 14312

Up: elementary-dev (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:24:05 2013 +0200 (2013-04-07)
parents b62c4bce1f6f
children 48d3d669a814
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"
11 SUGGESTED="xorg-xhost"
13 DEPENDS="xorg"
14 BUILD_DEPENDS="xorg-imake xorg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p0 < $stuff/pseudo_color.u
21 xmkmf
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 cp -a $stuff/*/ $fs
30 }