wok-6.x view bzflag/receipt @ rev 22322
updated yelp-tools and yelp-xsl
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 17:10:01 2019 +0100 (2019-11-14) |
parents | 0923305c023b |
children | 1d9e2a91579d |
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 sed -i 's|uname -m|echo i486|' package/Makefile* src/other/glew/config/Makefile.linux
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 }