wok-current annotate bzflag/receipt @ rev 13299
dukto: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 28 14:08:54 2012 +0200 (2012-08-28) |
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 |