Add a game, CriticalMass

This commit is contained in:
Chirayu Desai
2015-01-10 09:59:47 +00:00
parent d35e1d05bc
commit 66e7186ff3
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
SUMMARY="A game of chain reactions taking place in a nuclear reactor"
DESCRIPTION="\
CriticalMass is a strategy game where your goal is to keep the reaction \
under control by carefully placing protons and creating chain reactions. \
It can be played with a friend or against the computer, \
with different AI levels.
"
HOMEPAGE="https://github.com/pulkomandy/critical-mass"
SRC_URI="git+https://github.com/pulkomandy/critical-mass#f597cad218830451f2ec7f5985bef23020bf28ec"
REVISION="1"
LICENSE="CriticalMass"
COPYRIGHT="
1998 Hamish Carr
2011-2012 Adrien Destugues
"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
criticalmass = $portVersion
app:criticalmass = $portVersion
"
REQUIRES="
haiku
lib:libGL
"
BUILD_REQUIRES="
haiku_devel
devel:libgl
devel:libglu
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:make
"
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -Wno-dev
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
mkdir -p $documentationDir/criticalmass
cp -a Sources/CriticalMass $appsDir
cp -r Documentation/* $documentationDir/criticalmass
addAppDeskbarSymlink $appsDir/CriticalMass
}

View File

@@ -0,0 +1,2 @@
"Nobody sent money when I said it was shareware, so I shan't bother anymore. Consider it freeware. I.e. you can play it, distribute it, throw it in the garbage can, whatever, so long as authorship is acknowledged."
- Hamish Carr