wok view bzflag/receipt @ rev 8720
Up: bash to 4.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 18 01:20:18 2011 +0000 (2011-02-18) |
parents | |
children | 3535e2c60c6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="bzflag"
4 VERSION="2.0.16"
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 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-glew \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/bzflag $fs/usr/share
33 }