wok-next rev 6922

Added singularity. Strategy game - simulation of true AL.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 15:03:03 2010 +0000 (2010-10-22)
parents dfa088e80f23
children cfd7bd67f575
files singularity/receipt singularity/stuff/singularity.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/singularity/receipt	Fri Oct 22 15:03:03 2010 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="singularity"
     1.7 +VERSION="0.30b"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Strategy game - simulation of true Al"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy"
    1.12 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.13 +WEB_SITE="http://emhsoft.com/singularity/index.html"
    1.14 +WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/bin $fs/usr/share/singularity
    1.20 +	cp -a $src/singularity.py $fs/usr/share/singularity
    1.21 +	cat >> $fs/usr/bin/singularity <<EOT
    1.22 +#!/bin/sh
    1.23 +cd /usr/share/singularity
    1.24 +exec python singularity.py "$@"
    1.25 +EOT
    1.26 +	chmod +x $fs/usr/bin/singularity
    1.27 +	cp -R $src/code $src/data $fs/usr/share/singularity
    1.28 +}
    1.29 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/singularity/stuff/singularity.desktop	Fri Oct 22 15:03:03 2010 +0000
     2.3 @@ -0,0 +1,10 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Version=1.0
     2.7 +Name=Singularity
     2.8 +Comment= Strategy game - simulation of true Al
     2.9 +Icon=/usr/share/singularity/data/images/icon.png
    2.10 +Exec=singularity
    2.11 +Terminal=false
    2.12 +StartupNotify=false
    2.13 +Categories=Game;Strategy;