wok-6.x rev 8591
Fixed up assaultcube and assaultcube-data.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 13 22:35:07 2011 +0000 (2011-02-13) |
parents | 3fa816ae7153 |
children | 7237c993389a |
files | assaultcube-data/receipt assaultcube/receipt |
line diff
1.1 --- a/assaultcube-data/receipt Sun Feb 13 22:25:32 2011 +0000 1.2 +++ b/assaultcube-data/receipt Sun Feb 13 22:35:07 2011 +0000 1.3 @@ -7,15 +7,10 @@ 1.4 MAINTAINER="slaxemulator@gmail.com" 1.5 SOURCE="AssaultCube" 1.6 TARBALL="${SOURCE}_v${VERSION}.tar.bz2" 1.7 +SOURCE="AssaultCube-Data" 1.8 WEB_SITE="http://assault.cubers.net/" 1.9 WGET_URL="$SF_MIRROR/actiongame/$TARBALL" 1.10 1.11 -# Rules to configure and make the package. 1.12 -compile_rules() 1.13 -{ 1.14 - ln -s $WOK/$PACKAGE/$VERSION $WOK/$PACKAGE/$SOURCE-$VERSION 1.15 -} 1.16 - 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 {
2.1 --- a/assaultcube/receipt Sun Feb 13 22:25:32 2011 +0000 2.2 +++ b/assaultcube/receipt Sun Feb 13 22:35:07 2011 +0000 2.3 @@ -9,28 +9,28 @@ 2.4 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev" 2.5 SOURCE="AssaultCube" 2.6 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2" 2.7 +SOURCE="AssaultCube-Source" 2.8 WEB_SITE="http://assault.cubers.net/" 2.9 WGET_URL="$SF_MIRROR/actiongame/$TARBALL" 2.10 2.11 # Rules to configure and make the package. 2.12 compile_rules() 2.13 -{ 2.14 - [ -d $WOK/$PACKAGE/$VERSION ] && ln -s $WOK/$PACKAGE/$VERSION $WOK/$PACKAGE/$SOURCE-$VERSION 2.15 +{ 2.16 cd $src/source/src 2.17 make 2.18 + cp -a ac_client $fs/usr/bin 2.19 + cp -a ac_server $fs/usr/bin 2.20 + 2.21 } 2.22 2.23 # Rules to gen a SliTaz package suitable for Tazpkg. 2.24 genpkg_rules() 2.25 { 2.26 - _src=$src/source/src 2.27 - _stuff=$WOK/$PACKAGE/stuff 2.28 + stuff=$WOK/$PACKAGE/stuff 2.29 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps $fs/usr/share/applications 2.30 - cp -a $_src/ac_client $fs/usr/bin 2.31 - cp -a $_src/ac_server $fs/usr/bin 2.32 - cp -a $_stuff/assaultcube $fs/usr/bin 2.33 - cp -a $_stuff/assaultcube-server $fs/usr/bin 2.34 - cp -a $_stuff/assaultcube.png $fs/usr/share/pixmaps 2.35 + cp -a $stuff/assaultcube $fs/usr/bin 2.36 + cp -a $stuff/assaultcube-server $fs/usr/bin 2.37 + cp -a $stuff/assaultcube.png $fs/usr/share/pixmaps 2.38 chmod +x $fs/usr/bin/assaultcube 2.39 chmod +x $fs/usr/bin/assaultcube-server 2.40 }