wok-next view singularity/receipt @ rev 13439

Up: claws-mail-spam-report (0.3.16)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 01:21:26 2012 +0200 (2012-10-07)
parents df6af0a6d256
children 164fcaca1cd0
line source
1 # SliTaz package receipt.
3 PACKAGE="singularity"
4 VERSION="0.30c"
5 CATEGORY="games"
6 SHORT_DESC="Strategy game - simulation of true Al"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
9 WEB_SITE="http://emhsoft.com/singularity/index.html"
10 WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
12 DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy"
13 BUILD_DEPENDS="patch"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
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 }