wok-next annotate bzflag/receipt @ rev 13704

adding folder creations & perms
author xfred222
date Mon Dec 17 08:42:01 2012 -0500 (2012-12-17)
parents 3535e2c60c6a
children 6b09507225ec
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"
pankso@12481 9 BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-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