wok-next annotate bzflag/receipt @ rev 18000

qemu: enable curses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 25 12:57:51 2015 +0200 (2015-04-25)
parents 6b09507225ec
children 2985612f2b3f
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"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@7693 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7693 10 WEB_SITE="http://bzflag.org"
slaxemulator@7693 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7693 12
pascal@14996 13 DEPENDS="curl mesa libsdl glew"
pascal@14996 14 BUILD_DEPENDS="curl-dev mesa-dev libsdl-dev glew-dev util-linux-uuid-dev"
pascal@14996 15
slaxemulator@7693 16 # Rules to configure and make the package.
slaxemulator@7693 17 compile_rules()
slaxemulator@7693 18 {
slaxemulator@7693 19 cd $src
slaxemulator@7693 20 ./configure \
slaxemulator@7693 21 --with-glew \
slaxemulator@7693 22 $CONFIGURE_ARGS &&
slaxemulator@11014 23 make && make DESTDIR=$DESTDIR install
slaxemulator@7693 24 }
slaxemulator@7693 25
slaxemulator@7693 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7693 27 genpkg_rules()
slaxemulator@7693 28 {
slaxemulator@7693 29 mkdir -p $fs/usr/share
pascal@13796 30 cp -a $install/usr/bin $fs/usr
pascal@13796 31 cp -a $install/usr/share/bzflag $fs/usr/share
slaxemulator@7693 32 }
slaxemulator@7693 33