# HG changeset patch # User Pascal Bellard # Date 1356458746 -3600 # Node ID 988ece7f9c484e0fc3d746a57b248595d10f6d80 # Parent 76116051c3d928d69eef118d73f1e04c92865a14 Add xbattle diff -r 76116051c3d9 -r 988ece7f9c48 xbattle/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xbattle/receipt Tue Dec 25 19:05:46 2012 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="xbattle" +VERSION="5.4.1" +CATEGORY="games" +SHORT_DESC="Concurrent multi-player battle strategy game for X11." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://xbattle.sourcearchive.com" +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" +WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL" + +DEPENDS="xorg" +BUILD_DEPENDS="xorg-imake xorg-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + xmkmf + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}