wok-current diff singularity/receipt @ rev 10543

gnomad2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 19:03:26 2011 +0200 (2011-05-25)
parents bf83cc941560
children 41059339acd5
line diff
     1.1 --- a/singularity/receipt	Fri Oct 22 15:03:03 2010 +0000
     1.2 +++ b/singularity/receipt	Wed May 25 19:03:26 2011 +0200
     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