mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add a game, CriticalMass
This commit is contained in:
51
haiku-games/criticalmass/criticalmass-2.2.recipe
Normal file
51
haiku-games/criticalmass/criticalmass-2.2.recipe
Normal 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
|
||||
}
|
||||
2
haiku-games/criticalmass/licenses/CriticalMass
Normal file
2
haiku-games/criticalmass/licenses/CriticalMass
Normal 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
|
||||
Reference in New Issue
Block a user