wok view 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
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 LICENSE="other"
9 WEB_SITE="https://web.archive.org/web/20011128105604/http://cns-web.bu.edu/pub/xpip/html/xbattle.html"
10 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
11 WGET_URL="$WEB_SITE/downloads/$VERSION/$TARBALL"
12 SUGGESTED="xorg-xhost"
14 DEPENDS="xorg"
15 BUILD_DEPENDS="xorg-imake xorg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -p0 < $stuff/pseudo_color.u
22 xmkmf
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 cp -a $stuff/*/ $fs
31 }