wok annotate bzflag/receipt @ rev 19539
Up sc-im (0.4.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Dec 03 21:08:29 2016 +0000 (2016-12-03) |
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 |