wok annotate bzflag/receipt @ rev 17356
Up slitaz-boot-scripts (5.6.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 14:27:51 2014 +0100 (2014-11-18) |
parents | 6b09507225ec |
children | 0923305c023b |
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 { |
slaxemulator@7693 | 19 cd $src |
slaxemulator@7693 | 20 ./configure \ |
slaxemulator@7693 | 21 --with-glew \ |
slaxemulator@7693 | 22 $CONFIGURE_ARGS && |
slaxemulator@11014 | 23 make && make DESTDIR=$DESTDIR install |
slaxemulator@7693 | 24 } |
slaxemulator@7693 | 25 |
slaxemulator@7693 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7693 | 27 genpkg_rules() |
slaxemulator@7693 | 28 { |
slaxemulator@7693 | 29 mkdir -p $fs/usr/share |
pascal@13796 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 31 cp -a $install/usr/share/bzflag $fs/usr/share |
slaxemulator@7693 | 32 } |
slaxemulator@7693 | 33 |