0
0
Fork 0
haikuports/haiku-apps/conway/conway-0.9.recipe

49 lines
1.1 KiB
Bash

SUMMARY="A simple implementation of Conway's \"Game of Life\""
DESCRIPTION="Conway is a fascinating artificial-life simulation. \
It differs from the \"Life\" program included with BeOS in 2 ways: \
first, it runs in a window, not full-screen; and second, it provides \
a delta display showing how the board has changed over time."
HOMEPAGE="https://github.com/HaikuArchives/Conway"
COPYRIGHT="1998 Alex Chamberlain"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="cc589fdda35b4f5b07c1bd3a4dc797638a45b50e"
SOURCE_URI="https://github.com/HaikuArchives/Conway/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="18e489cd650a862e937606ad9ecac4b840ee65dd005cf780c844c258fd2d4bbd"
SOURCE_FILENAME="Conway-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="Conway-$srcGitRev"
ARCHITECTURES="!all x86_gcc2"
PROVIDES="
conway = $portVersion
app:Conway = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
defineDebugInfoPackage conway \
$appsDir/Conway
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
install -d $appsDir
install -t $appsDir objects/Conway
addAppDeskbarSymlink $appsDir/Conway
}