wok-6.x view xbattle/receipt @ rev 19542

Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 05 15:16:10 2016 +0200 (2016-12-05)
parents 01dc32ea5178
children e6b7a2aaf2e1
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="http://xbattle.sourcearchive.com"
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 }