wok-6.x annotate bzflag/receipt @ rev 11426
Compat: ntop - don't trigger cook of splitted packages when using tazwok (that's automatic)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Dec 14 15:56:46 2011 +0100 (2011-12-14) |
parents | 2583fcc0e0f4 |
children | 73641efed1cc |
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" |
slaxemulator@7693 | 8 DEPENDS="curl mesa libsdl glew" |
slaxemulator@7693 | 9 BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-ng-uuid-dev" |
slaxemulator@7693 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7693 | 11 WEB_SITE="http://bzflag.org" |
slaxemulator@7693 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7693 | 13 |
slaxemulator@7693 | 14 # Rules to configure and make the package. |
slaxemulator@7693 | 15 compile_rules() |
slaxemulator@7693 | 16 { |
slaxemulator@7693 | 17 cd $src |
slaxemulator@7693 | 18 ./configure \ |
slaxemulator@7693 | 19 --with-glew \ |
slaxemulator@7693 | 20 $CONFIGURE_ARGS && |
slaxemulator@11014 | 21 make && make DESTDIR=$DESTDIR install |
slaxemulator@7693 | 22 } |
slaxemulator@7693 | 23 |
slaxemulator@7693 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7693 | 25 genpkg_rules() |
slaxemulator@7693 | 26 { |
slaxemulator@7693 | 27 mkdir -p $fs/usr/share |
slaxemulator@7693 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7693 | 29 cp -a $_pkg/usr/share/bzflag $fs/usr/share |
slaxemulator@7693 | 30 } |
slaxemulator@7693 | 31 |