wok diff singularity/receipt @ 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 | |
children | df6af0a6d256 |
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 +