wok-stable view singularity/receipt @ rev 9403
Up: slitaz-mercurial-style (2.0) - New color, put some joy :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 27 23:35:45 2011 +0200 (2011-03-27) |
parents | bf83cc941560 |
children | 41059339acd5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="singularity"
4 VERSION="0.30b"
5 CATEGORY="games"
6 SHORT_DESC="Strategy game - simulation of true Al"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy"
9 BUILD_DEPENDS="patch"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WEB_SITE="http://emhsoft.com/singularity/index.html"
12 WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 patch -p0 < stuff/percents-$VERSION.patch
18 mkdir -p $fs/usr/bin $fs/usr/games/singularity
19 cp -a $src/singularity.py $fs/usr/games/singularity
20 cat >> $fs/usr/bin/singularity <<EOT
21 #!/bin/sh
22 cd /usr/games/singularity
23 exec python singularity.py "$@"
24 EOT
25 chmod +x $fs/usr/bin/singularity
26 cp -a $src/code $src/data $fs/usr/games/singularity
27 }