wok view xbattle/receipt @ rev 24178
created recipe for perl-file-sharedir-install
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 06:33:57 2021 +0100 (2021-12-31) |
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 }