wok-next view xbattle/receipt @ rev 13736

Add xbattle
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 19:05:46 2012 +0100 (2012-12-25)
parents
children b62c4bce1f6f
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 xmkmf
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }