wok annotate assaultcube/receipt @ rev 8364

glpi: fix CONFIG_FILES remove config_db_slave.php. doesn't exist
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Feb 04 00:56:21 2011 +0100 (2011-02-04)
parents 75eae800268f
children b891cba4f48e
rev   line source
slaxemulator@6588 1 # SliTaz package receipt.
slaxemulator@6588 2
slaxemulator@6588 3 PACKAGE="assaultcube"
slaxemulator@7316 4 VERSION="1.1.0.4"
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@7316 9 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev"
slaxemulator@6588 10 SOURCE="AssaultCube"
slaxemulator@7316 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@8295 18 [ -d $WOK/$PACKAGE/$VERSION ] && 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