wok-next view singularity/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="singularity"
4 VERSION="0.30c"
5 CATEGORY="games"
6 SHORT_DESC="Strategy game - simulation of true AI"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://emhsoft.com/singularity/index.html"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="patch"
16 genpkg_rules() {
17 mkdir -p $fs/usr/bin $fs/usr/games/singularity
18 cp -a $src/singularity.py $fs/usr/games/singularity
19 cat >> $fs/usr/bin/singularity <<EOT
20 #!/bin/sh
21 cd /usr/games/singularity
22 exec python singularity.py "$@"
23 EOT
24 chmod +x $fs/usr/bin/singularity
25 cp -a $src/code $src/data $fs/usr/games/singularity
26 DEPENDS="python python-pygame sdl-image sdl-mixer python-numpy"
27 }