wok annotate bzflag/receipt @ rev 24184
updated perl-class-singleton (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:00:12 2021 +0100 (2021-12-31) |
parents | 3705d68ed8f3 |
children | 5f6c5106b1f5 |
rev | line source |
---|---|
slaxemulator@7693 | 1 # SliTaz package receipt. |
slaxemulator@7693 | 2 |
slaxemulator@7693 | 3 PACKAGE="bzflag" |
Hans-G?nter@22574 | 4 VERSION="2.4.18" |
slaxemulator@7693 | 5 CATEGORY="games" |
slaxemulator@7693 | 6 SHORT_DESC="A multiplayer 3D tank battle game." |
slaxemulator@7693 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@22574 | 9 WEB_SITE="https://bzflag.org" |
Hans-G?nter@22574 | 10 |
slaxemulator@7693 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7693 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7693 | 13 |
Hans-G?nter@22574 | 14 DEPENDS="c-ares curl gcc83-lib-base glew libsdl mesa" |
Hans-G?nter@22574 | 15 BUILD_DEPENDS="c-ares-dev curl-dev gcc83 glew-dev libsdl-dev |
Hans-G?nter@22574 | 16 mesa-dev util-linux-uuid-dev" |
pascal@14996 | 17 |
slaxemulator@7693 | 18 # Rules to configure and make the package. |
slaxemulator@7693 | 19 compile_rules() |
slaxemulator@7693 | 20 { |
Hans-G?nter@22574 | 21 sed -i 's|uname -m|echo i486|' \ |
Hans-G?nter@22574 | 22 package/Makefile* |
Hans-G?nter@22574 | 23 # src/other/glew/config/Makefile.linux |
Hans-G?nter@22574 | 24 |
pascal@19771 | 25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" |
Hans-G?nter@22574 | 26 |
Hans-G?nter@22574 | 27 ./configure \ |
Hans-G?nter@22574 | 28 CC=gcc-83 \ |
Hans-G?nter@22574 | 29 CXX=g++-83 \ |
slaxemulator@7693 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@22574 | 31 make && |
Hans-G?nter@22574 | 32 make DESTDIR=$DESTDIR install |
slaxemulator@7693 | 33 } |
slaxemulator@7693 | 34 |
slaxemulator@7693 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7693 | 36 genpkg_rules() |
slaxemulator@7693 | 37 { |
slaxemulator@7693 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@22574 | 39 |
Hans-G?nter@22574 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22574 | 41 cp -a $install/usr/share/bzflag $fs/usr/share |
slaxemulator@7693 | 42 } |