wok view singularity/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents 164fcaca1cd0
children 934055de50e2
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://emhsoft.com/singularity/index.html"
11 WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
13 DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy"
14 BUILD_DEPENDS="patch"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/games/singularity
20 cp -a $src/singularity.py $fs/usr/games/singularity
21 cat >> $fs/usr/bin/singularity <<EOT
22 #!/bin/sh
23 cd /usr/games/singularity
24 exec python singularity.py "$@"
25 EOT
26 chmod +x $fs/usr/bin/singularity
27 cp -a $src/code $src/data $fs/usr/games/singularity
28 }