wok-4.x annotate bzflag/receipt @ rev 9980
webkit-r: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 23:19:59 2011 +0200 (2011-05-18) |
parents | |
children | 3535e2c60c6a |
rev | line source |
---|---|
slaxemulator@7693 | 1 # SliTaz package receipt. |
slaxemulator@7693 | 2 |
slaxemulator@7693 | 3 PACKAGE="bzflag" |
slaxemulator@7693 | 4 VERSION="2.0.16" |
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 --prefix=/usr \ |
slaxemulator@7693 | 20 --infodir=/usr/share/info \ |
slaxemulator@7693 | 21 --mandir=/usr/share/man \ |
slaxemulator@7693 | 22 --with-glew \ |
slaxemulator@7693 | 23 $CONFIGURE_ARGS && |
slaxemulator@7693 | 24 make && make DESTDIR=$PWD/_pkg 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 |
slaxemulator@7693 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7693 | 32 cp -a $_pkg/usr/share/bzflag $fs/usr/share |
slaxemulator@7693 | 33 } |
slaxemulator@7693 | 34 |