wok annotate bzflag/receipt @ rev 20454
Up zstd (1.3.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 06 15:17:20 2018 +0200 (2018-10-06) |
parents | 0923305c023b |
children | 1d9e2a91579d |
rev | line source |
---|---|
slaxemulator@7693 | 1 # SliTaz package receipt. |
slaxemulator@7693 | 2 |
slaxemulator@7693 | 3 PACKAGE="bzflag" |
slaxemulator@11014 | 4 VERSION="2.4.0" |
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" |
slaxemulator@7693 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7693 | 10 WEB_SITE="http://bzflag.org" |
slaxemulator@7693 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7693 | 12 |
pascal@14996 | 13 DEPENDS="curl mesa libsdl glew" |
pascal@14996 | 14 BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-uuid-dev" |
pascal@14996 | 15 |
slaxemulator@7693 | 16 # Rules to configure and make the package. |
slaxemulator@7693 | 17 compile_rules() |
slaxemulator@7693 | 18 { |
pascal@20212 | 19 sed -i 's|uname -m|echo i486|' package/Makefile* src/other/glew/config/Makefile.linux |
pascal@19771 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" |
slaxemulator@7693 | 21 ./configure \ |
slaxemulator@7693 | 22 --with-glew \ |
slaxemulator@7693 | 23 $CONFIGURE_ARGS && |
slaxemulator@11014 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@7693 | 25 } |
slaxemulator@7693 | 26 |
slaxemulator@7693 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7693 | 28 genpkg_rules() |
slaxemulator@7693 | 29 { |
slaxemulator@7693 | 30 mkdir -p $fs/usr/share |
pascal@13796 | 31 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 32 cp -a $install/usr/share/bzflag $fs/usr/share |
slaxemulator@7693 | 33 } |
slaxemulator@7693 | 34 |