wok-next view bzflag/receipt @ rev 11203
Add from wok-undigest: xorg-bdftopcf xorg-fonttosfnt xorg-mkfontdir xorg-mkfontscale xorg-xedit xorg-xeyes xorg-xf86-video-radeonhd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 10:39:15 2011 +0100 (2011-11-03) |
parents | 2583fcc0e0f4 |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="bzflag"
4 VERSION="2.4.0"
5 CATEGORY="games"
6 SHORT_DESC="A multiplayer 3D tank battle game."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="curl mesa libsdl glew"
9 BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-ng-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://bzflag.org"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --with-glew \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/bzflag $fs/usr/share
30 }