wok-current view xbattle/receipt @ rev 25196
updated python-httplib2 (0.17.1 -> 0.20.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 11:04:37 2022 +0100 (2022-07-13) |
parents | b9659e3c2111 |
children |
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="http://old-releases.ubuntu.com/ubuntu/pool/universe/x/$PACKAGE/$TARBALL"
12 SUGGESTED="xorg-xhost"
14 DEPENDS="xorg"
15 BUILD_DEPENDS="xorg-imake xorg-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/mikemayer67/xbattle/master/README 2>/dev/null | \
21 sed '/^XBATTLE/!d;s|XBATTLE ||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 patch -p0 < $stuff/pseudo_color.u
29 xmkmf
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 cp -a $stuff/*/ $fs
38 }