wok-current diff singularity/receipt @ rev 7362
mirror-tools/mkcfg.sh: create direct pxe links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 23 18:57:25 2010 +0100 (2010-11-23) |
parents | bf83cc941560 |
children | 41059339acd5 |
line diff
1.1 --- a/singularity/receipt Fri Oct 22 15:03:03 2010 +0000 1.2 +++ b/singularity/receipt Tue Nov 23 18:57:25 2010 +0100 1.3 @@ -6,6 +6,7 @@ 1.4 SHORT_DESC="Strategy game - simulation of true Al" 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy" 1.7 +BUILD_DEPENDS="patch" 1.8 TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.9 WEB_SITE="http://emhsoft.com/singularity/index.html" 1.10 WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL" 1.11 @@ -13,14 +14,15 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 - mkdir -p $fs/usr/bin $fs/usr/share/singularity 1.16 - cp -a $src/singularity.py $fs/usr/share/singularity 1.17 + patch -p0 < stuff/percents-$VERSION.patch 1.18 + mkdir -p $fs/usr/bin $fs/usr/games/singularity 1.19 + cp -a $src/singularity.py $fs/usr/games/singularity 1.20 cat >> $fs/usr/bin/singularity <<EOT 1.21 #!/bin/sh 1.22 -cd /usr/share/singularity 1.23 +cd /usr/games/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 + cp -a $src/code $src/data $fs/usr/games/singularity 1.29 } 1.30