1SUMMARY="Conway's Game of Life"
2DESCRIPTION="
3The Game of Life  is not a game in the conventional sense. There are no \
4players, and no winning or losing. Once the \"pieces\" are placed in the \
5starting position, the rules determine everything that happens later. \
6Nevertheless, Life is full of surprises! In most cases, it is impossible to \
7look at a starting position (or pattern) and see what will happen in the \
8future. The only way to find out is to follow the rules of the game.
9
10Find out more about about Conway's Game of Life:
11- http://en.wikipedia.org/wiki/Conway's_Game_of_Life
12- http://www.math.com/students/wonders/life/life.html"
13HOMEPAGE="https://github.com/HaikuArchives/BeLife"
14COPYRIGHT="2006 Studio-33"
15LICENSE="BeLife License"
16REVISION="2"
17srcGitRev="96e31e8b4543723c7c8ea4a3d0c57c8cd52f82ca"
18SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
19CHECKSUM_SHA256="2566dc527e336277173179c7cce0771579257e19bbcd853377cd6112547a08d1"
20SOURCE_DIR="BeLife-$srcGitRev"
21
22ARCHITECTURES="x86 x86_gcc2"
23
24PROVIDES="
25	belife = $portVersion
26	app:BeLife = $portVersion
27	"
28REQUIRES="
29	haiku
30	"
31
32BUILD_REQUIRES="
33	haiku_devel
34	"
35BUILD_PREREQUIRES="
36	makefile_engine
37	cmd:g++
38	cmd:make
39	cmd:xres
40	"
41
42BUILD()
43{
44	cd src
45	make OBJ_DIR=objects
46}
47
48INSTALL()
49{
50	cd src
51	mkdir -p $appsDir/BeLife
52	cp objects/BeLife $appsDir/BeLife/
53	addAppDeskbarSymlink $appsDir/BeLife/BeLife
54	cp ../readme $appsDir/BeLife
55}
56