wok-next diff assaultcube/receipt @ rev 6871
Added sox to sox-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 20:29:10 2010 +0000 (2010-10-20) |
parents | |
children | 75eae800268f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/assaultcube/receipt Wed Oct 20 20:29:10 2010 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="assaultcube" 1.7 +VERSION="1.1.0.1" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="A realistic team oriented multiplayer FPS based on the cube engine." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="openal libsdl-image libsdl-mixer mesa assaultcube-data" 1.12 +BUILD_DEPENDS="openal openal-dev libsdl-image libsdl-image-dev libsdl-mixer libsdl-mixer-dev mesa mesa-dev" 1.13 +SOURCE="AssaultCube" 1.14 +TARBALL="${SOURCE}_v${VERSION}.source.tar.bz2" 1.15 +WEB_SITE="http://assault.cubers.net/" 1.16 +WGET_URL="$SF_MIRROR/actiongame/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ln -s $WOK/$PACKAGE/$VERSION $WOK/$PACKAGE/$SOURCE-$VERSION 1.22 + cd $src/source/src 1.23 + make 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + _src=$src/source/src 1.30 + _stuff=$WOK/$PACKAGE/stuff 1.31 + mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications 1.32 + cp -a $_src/ac_client $fs/usr/bin 1.33 + cp -a $_src/ac_server $fs/usr/bin 1.34 + cp -a $_stuff/assaultcube $fs/usr/bin 1.35 + cp -a $_stuff/assaultcube-server $fs/usr/bin 1.36 + cp -a $_stuff/assaultcube.png $fs/usr/share/pixmaps 1.37 + chmod +x $fs/usr/bin/assaultcube 1.38 + chmod +x $fs/usr/bin/assaultcube-server 1.39 +} 1.40 +