wok view bzflag/receipt @ rev 20099

Up slitaz-doc (159)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 07 22:35:34 2017 +0200 (2017-10-07)
parents 76b72f1ad63c
children 3705d68ed8f3
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://bzflag.org"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="curl mesa libsdl glew"
14 BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-uuid-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
21 ./configure \
22 --with-glew \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR 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 $install/usr/bin $fs/usr
32 cp -a $install/usr/share/bzflag $fs/usr/share
33 }