wok view bzflag/receipt @ rev 20818

Up perl-net-ssleay (1.46)
author Richard Dunbar <mojo@slitaz.org>
date Tue Feb 19 01:23:11 2019 -0500 (2019-02-19)
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 }