mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
52 lines
1.1 KiB
Bash
52 lines
1.1 KiB
Bash
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"
|
|
SOURCE_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
|
|
}
|