wok-next annotate singularity/receipt @ rev 21508

updated autofs (5.1.5 -> 5.1.6)
author Hans-G?nter Theisgen
date Fri Jun 19 08:13:34 2020 +0100 (2020-06-19)
parents d5aab818505e
children
rev   line source
slaxemulator@6922 1 # SliTaz package receipt.
slaxemulator@6922 2
slaxemulator@6922 3 PACKAGE="singularity"
slaxemulator@11034 4 VERSION="0.30c"
slaxemulator@6922 5 CATEGORY="games"
al@21020 6 SHORT_DESC="Strategy game - simulation of true AI"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15587 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://emhsoft.com/singularity/index.html"
al@21020 10
slaxemulator@6922 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
slaxemulator@6922 12 WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
slaxemulator@6922 13
slaxemulator@11034 14 BUILD_DEPENDS="patch"
slaxemulator@11034 15
al@21020 16 genpkg_rules() {
gokhlayeh@6960 17 mkdir -p $fs/usr/bin $fs/usr/games/singularity
gokhlayeh@6960 18 cp -a $src/singularity.py $fs/usr/games/singularity
slaxemulator@6922 19 cat >> $fs/usr/bin/singularity <<EOT
slaxemulator@6922 20 #!/bin/sh
gokhlayeh@6960 21 cd /usr/games/singularity
slaxemulator@6922 22 exec python singularity.py "$@"
slaxemulator@6922 23 EOT
slaxemulator@6922 24 chmod +x $fs/usr/bin/singularity
gokhlayeh@6960 25 cp -a $src/code $src/data $fs/usr/games/singularity
al@21087 26 DEPENDS="python python-pygame sdl-image sdl-mixer python-numpy"
slaxemulator@6922 27 }