wok rev 6695
Added btanks. A fast 2d tank arcade game with multiplayer and split-screen modes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 04:18:49 2010 +0000 (2010-10-13) |
parents | 369f9efbaac9 |
children | 3fd80d62508c |
files | btanks/receipt btanks/stuff/btanks.desktop btanks/stuff/btanks.png btanks/stuff/btanks_script btanks/stuff/bted_script |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/btanks/receipt Wed Oct 13 04:18:49 2010 +0000 1.3 @@ -0,0 +1,51 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="btanks" 1.7 +VERSION="0.9.8083" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="A fast 2d tank arcade game with multiplayer and split-screen modes." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="expat mesa libsigc++ libvorbis lua openal libsdl libsdl-image libsmpeg" 1.12 +BUILD_DEPENDS="expat-dev mesa-dev libsigc++-dev libvorbis libvorbis-dev libogg libogg-dev lua-dev openal-dev libsdl-dev libsdl-image-dev libsmpeg-dev scons chrpath pkg-config" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://btanks.sourceforge.net" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + scons 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/lib/btanks $fs/usr/share/applications $fs/usr/bin 1.28 + cp -a $src/*.so $fs/usr/lib/btanks 1.29 + cp -a $src/btanks $fs/usr/bin/btanks-bin 1.30 + cp -a $src/bted $fs/usr/bin/bted-bin 1.31 + 1.32 + cp -a $WOK/$PACKAGE/stuff/btanks_script $fs/usr/bin/btanks 1.33 + cp -a $WOK/$PACKAGE/stuff/bted_script $fs/usr/bin/bted 1.34 + chmod +x $fs/usr/bin/btanks 1.35 + chmod +x $fs/usr/bin/bted 1.36 + 1.37 + mkdir -p $fs/usr/share/btanks 1.38 + 1.39 + # Make settings saveable 1.40 + 1.41 + touch $fs/usr/share/btanks/bt.xml 1.42 + chgrp 1000 $fs/usr/share/btanks/bt.xml 1.43 + chmod 664 $fs/usr/share/btanks/bt.xml 1.44 + 1.45 + ln -s /usr/bin/btanks-bin $fs/usr/share/btanks/btanks && \ 1.46 + ln -s /usr/bin/bted-bin $fs/usr/share/btanks/bted || return 1 1.47 + 1.48 + ls -1 $fs/usr/lib/btanks/ | while read A; do 1.49 + ln -s /usr/lib/btanks/$A $fs/usr/share/btanks/$A || return 1 1.50 + done 1.51 + 1.52 + # game data 1.53 + cp -a $src/data $fs/usr/share/btanks 1.54 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/btanks/stuff/btanks.desktop Wed Oct 13 04:18:49 2010 +0000 2.3 @@ -0,0 +1,10 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Version=1.0 2.7 +Name=Battle Tanks! 2.8 +Comment= A 2D arcade tank battle! 2.9 +Icon=btanks 2.10 +Exec=btanks 2.11 +Terminal=false 2.12 +StartupNotify=false 2.13 +Categories=Game;ArcadeGame;
3.1 Binary file btanks/stuff/btanks.png has changed
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/btanks/stuff/btanks_script Wed Oct 13 04:18:49 2010 +0000 4.3 @@ -0,0 +1,6 @@ 4.4 +#!/bin/sh 4.5 +#This is the script for running the actual btanks executable 4.6 + 4.7 +cd /usr/share/btanks/ 4.8 +export LD_LIBRARY_PATH=/usr/lib/btanks 4.9 +exec ./btanks
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/btanks/stuff/bted_script Wed Oct 13 04:18:49 2010 +0000 5.3 @@ -0,0 +1,6 @@ 5.4 +#!/bin/sh 5.5 +#This is the script for running the actual bted executable 5.6 + 5.7 +cd /usr/share/btanks/ 5.8 +export LD_LIBRARY_PATH=/usr/lib/btanks 5.9 +exec ./bted