wok-stable annotate assaultcube/receipt @ rev 7670

Up: xorg-xbacklight to 1.1.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 16:09:22 2010 +0000 (2010-12-16)
parents 3481e7ecc617
children 53ecebbc8732
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@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