Files
haikuports/haiku-apps/belife/belife-1.0.0.recipe
2016-07-26 07:25:54 +02:00

53 lines
1.2 KiB
Bash

SUMMARY="Conway's Game of Life"
DESCRIPTION="
The Game of Life is not a game in the conventional sense. There are no \
players, and no winning or losing. Once the \"pieces\" are placed in the \
starting position, the rules determine everything that happens later. \
Nevertheless, Life is full of surprises! In most cases, it is impossible to \
look at a starting position (or pattern) and see what will happen in the \
future. The only way to find out is to follow the rules of the game.
Find out more about about Conway's Game of Life:
- http://en.wikipedia.org/wiki/Conway's_Game_of_Life
- http://www.math.com/students/wonders/life/life.html"
HOMEPAGE="https://github.com/HaikuArchives/BeLife"
COPYRIGHT="2006 Studio-33"
LICENSE="BeLife License"
REVISION="2"
SOURCE_URI="$(HOMEPAGE)/archive/96e31e8b4543723c7c8ea4a3d0c57c8cd52f82ca.tar.gz"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
belife = $portVersion
app:BeLife = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
cmd:xres
"
BUILD()
{
cd src
make OBJ_DIR=objects
}
INSTALL()
{
cd src
mkdir -p $appsDir/BeLife
cp objects/BeLife $appsDir/BeLife/
addAppDeskbarSymlink $appsDir/BeLife/BeLife
cp ../readme $appsDir/BeLife
}