wok-6.x view xbattle/receipt @ rev 24596
updated gftp (2.0.19 -> 2.9.1b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:53:52 2022 +0100 (2022-03-01) |
parents | e6b7a2aaf2e1 |
children | 55606cf026f1 |
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 # 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 }