wok annotate assaultcube/receipt @ rev 6798

Up: apr-util to 1.3.10.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 19 02:23:27 2010 +0000 (2010-10-19)
parents
children 75eae800268f
rev   line source
slaxemulator@6588 1 # SliTaz package receipt.
slaxemulator@6588 2
slaxemulator@6588 3 PACKAGE="assaultcube"
slaxemulator@6588 4 VERSION="1.1.0.1"
slaxemulator@6588 5 CATEGORY="games"
slaxemulator@6588 6 SHORT_DESC="A realistic team oriented multiplayer FPS based on the cube engine."
slaxemulator@6588 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6588 8 DEPENDS="openal libsdl-image libsdl-mixer mesa assaultcube-data"
slaxemulator@6588 9 BUILD_DEPENDS="openal openal-dev libsdl-image libsdl-image-dev libsdl-mixer libsdl-mixer-dev mesa mesa-dev"
slaxemulator@6588 10 SOURCE="AssaultCube"
slaxemulator@6588 11 TARBALL="${SOURCE}_v${VERSION}.source.tar.bz2"
slaxemulator@6588 12 WEB_SITE="http://assault.cubers.net/"
slaxemulator@6588 13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
slaxemulator@6588 14
slaxemulator@6588 15 # Rules to configure and make the package.
slaxemulator@6588 16 compile_rules()
slaxemulator@6588 17 {
slaxemulator@6588 18 ln -s $WOK/$PACKAGE/$VERSION $WOK/$PACKAGE/$SOURCE-$VERSION
slaxemulator@6588 19 cd $src/source/src
slaxemulator@6588 20 make
slaxemulator@6588 21 }
slaxemulator@6588 22
slaxemulator@6588 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6588 24 genpkg_rules()
slaxemulator@6588 25 {
slaxemulator@6588 26 _src=$src/source/src
slaxemulator@6588 27 _stuff=$WOK/$PACKAGE/stuff
slaxemulator@6588 28 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications
slaxemulator@6588 29 cp -a $_src/ac_client $fs/usr/bin
slaxemulator@6588 30 cp -a $_src/ac_server $fs/usr/bin
slaxemulator@6588 31 cp -a $_stuff/assaultcube $fs/usr/bin
slaxemulator@6588 32 cp -a $_stuff/assaultcube-server $fs/usr/bin
slaxemulator@6588 33 cp -a $_stuff/assaultcube.png $fs/usr/share/pixmaps
slaxemulator@6588 34 chmod +x $fs/usr/bin/assaultcube
slaxemulator@6588 35 chmod +x $fs/usr/bin/assaultcube-server
slaxemulator@6588 36 }
slaxemulator@6588 37