wok-current annotate xbattle/receipt @ rev 13741
mutt: fix build
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Dec 26 20:36:58 2012 +0000 (2012-12-26) |
parents | b62c4bce1f6f |
children | 48d3d669a814 |
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@13740 | 11 SUGGESTED="xorg-xhost" |
pascal@13736 | 12 |
pascal@13736 | 13 DEPENDS="xorg" |
pascal@13736 | 14 BUILD_DEPENDS="xorg-imake xorg-dev" |
pascal@13736 | 15 |
pascal@13736 | 16 # Rules to configure and make the package. |
pascal@13736 | 17 compile_rules() |
pascal@13736 | 18 { |
pascal@13736 | 19 cd $src |
pascal@13738 | 20 patch -p0 < $stuff/pseudo_color.u |
pascal@13736 | 21 xmkmf |
pascal@13736 | 22 make && make DESTDIR=$DESTDIR install |
pascal@13736 | 23 } |
pascal@13736 | 24 |
pascal@13736 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13736 | 26 genpkg_rules() |
pascal@13736 | 27 { |
pascal@13736 | 28 cp -a $install/usr $fs |
pascal@13738 | 29 cp -a $stuff/*/ $fs |
pascal@13736 | 30 } |