wok-current view xbattle/receipt @ rev 24577

updated ftgl and ftgl-dev (2.1.3-rc5 -> 2.4.0)
author Hans-G?nter Theisgen
date Sun Feb 27 11:03:39 2022 +0100 (2022-02-27)
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 }