From cacf354123a72786d1a65c1625d1ab09cfd07c1f Mon Sep 17 00:00:00 2001 From: Bach Nguyen Date: Sun, 14 Jan 2018 20:15:44 +0000 Subject: [PATCH] haiku-apps/Conway: new recipe (#2122) --- haiku-apps/conway/conway-0.9.recipe | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 haiku-apps/conway/conway-0.9.recipe diff --git a/haiku-apps/conway/conway-0.9.recipe b/haiku-apps/conway/conway-0.9.recipe new file mode 100644 index 000000000..513d461e8 --- /dev/null +++ b/haiku-apps/conway/conway-0.9.recipe @@ -0,0 +1,48 @@ +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="x86_gcc2 !x86_64" + +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 +}