wok view bzflag/receipt @ rev 23837

Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:44:24 2020 +0000 (2020-06-01)
parents 3705d68ed8f3
children 5f6c5106b1f5
line source
1 # SliTaz package receipt.
3 PACKAGE="bzflag"
4 VERSION="2.4.18"
5 CATEGORY="games"
6 SHORT_DESC="A multiplayer 3D tank battle game."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://bzflag.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="c-ares curl gcc83-lib-base glew libsdl mesa"
15 BUILD_DEPENDS="c-ares-dev curl-dev gcc83 glew-dev libsdl-dev
16 mesa-dev util-linux-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|uname -m|echo i486|' \
22 package/Makefile*
23 # src/other/glew/config/Makefile.linux
25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/bzflag $fs/usr/share
42 }