wok-next annotate bzflag/receipt @ rev 8350
Fix: wv needs -j1 to install.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Feb 02 05:08:40 2011 +0000 (2011-02-02) |
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 |