wok annotate xbattle/receipt @ rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents 48d3d669a814
children b9659e3c2111
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@15604 8 LICENSE="other"
pascal@21252 9 WEB_SITE="https://web.archive.org/web/20011128105604/http://cns-web.bu.edu/pub/xpip/html/xbattle.html"
pascal@13736 10 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
pascal@13736 11 WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL"
pascal@13740 12 SUGGESTED="xorg-xhost"
pascal@13736 13
pascal@13736 14 DEPENDS="xorg"
pascal@13736 15 BUILD_DEPENDS="xorg-imake xorg-dev"
pascal@13736 16
pascal@13736 17 # Rules to configure and make the package.
pascal@13736 18 compile_rules()
pascal@13736 19 {
pascal@13736 20 cd $src
pascal@13738 21 patch -p0 < $stuff/pseudo_color.u
pascal@13736 22 xmkmf
pascal@13736 23 make && make DESTDIR=$DESTDIR install
pascal@13736 24 }
pascal@13736 25
pascal@13736 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13736 27 genpkg_rules()
pascal@13736 28 {
pascal@13736 29 cp -a $install/usr $fs
pascal@13738 30 cp -a $stuff/*/ $fs
pascal@13736 31 }