From aaf85ed5902beaef180f6cee11629fdc90abd2df Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Thu, 12 Dec 2013 22:16:10 +0000 Subject: [PATCH 1/3] Add BeLife recipe --- haiku-apps/belife/belife-1.0.0.recipe | 54 +++++++++++++++++++++++ haiku-apps/belife/licenses/BeLife License | 1 + 2 files changed, 55 insertions(+) create mode 100644 haiku-apps/belife/belife-1.0.0.recipe create mode 100644 haiku-apps/belife/licenses/BeLife License diff --git a/haiku-apps/belife/belife-1.0.0.recipe b/haiku-apps/belife/belife-1.0.0.recipe new file mode 100644 index 000000000..63eea3155 --- /dev/null +++ b/haiku-apps/belife/belife-1.0.0.recipe @@ -0,0 +1,54 @@ +SUMMARY="An app to play the 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. + " +HOMEPAGE="https://github.com/HaikuArchives/BeLife" +SRC_URI="git://github.com/HaikuArchives/BeLife.git#aa35a935e55e9ee17fbb9d414534ba79798a95a1" +REVISION="1" + +LICENSE="BeLife License" +COPYRIGHT="2006 Studio-33" + +ARCHITECTURES="x86 x86_gcc2" + + +PROVIDES=" + belife = $portVersion + app:belife = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + cmd:mkdepend + cmd:xres + " +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +BUILD() +{ + cd src + make +} + +INSTALL() +{ + cd src + make install INSTALL_DIR=$appsDir + addAppDeskbarSymlink $appsDir/BeLife +} diff --git a/haiku-apps/belife/licenses/BeLife License b/haiku-apps/belife/licenses/BeLife License new file mode 100644 index 000000000..3389defc2 --- /dev/null +++ b/haiku-apps/belife/licenses/BeLife License @@ -0,0 +1 @@ +Copyright 2006 Studio-33, All Rights Reserved. From 886f0073429fd3150ee11d02c14247d928cb8846 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Fri, 13 Dec 2013 14:36:35 +0000 Subject: [PATCH 2/3] Fixes for BeLife --- haiku-apps/belife/belife-1.0.0.recipe | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/haiku-apps/belife/belife-1.0.0.recipe b/haiku-apps/belife/belife-1.0.0.recipe index 63eea3155..a1c4192a0 100644 --- a/haiku-apps/belife/belife-1.0.0.recipe +++ b/haiku-apps/belife/belife-1.0.0.recipe @@ -1,9 +1,8 @@ SUMMARY="An app to play the 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, + 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 @@ -13,13 +12,11 @@ DESCRIPTION=" HOMEPAGE="https://github.com/HaikuArchives/BeLife" SRC_URI="git://github.com/HaikuArchives/BeLife.git#aa35a935e55e9ee17fbb9d414534ba79798a95a1" REVISION="1" - LICENSE="BeLife License" COPYRIGHT="2006 Studio-33" ARCHITECTURES="x86 x86_gcc2" - PROVIDES=" belife = $portVersion app:belife = $portVersion @@ -49,6 +46,7 @@ BUILD() INSTALL() { cd src - make install INSTALL_DIR=$appsDir - addAppDeskbarSymlink $appsDir/BeLife + make install INSTALL_DIR=$appsDir/BeLife + addAppDeskbarSymlink $appsDir/BeLife/BeLife + cp ../readme $appsDir/BeLife } From acd2c16f0bf87a063b200d37f6df62005f6b42fe Mon Sep 17 00:00:00 2001 From: puckipedia Date: Fri, 13 Dec 2013 14:39:20 +0000 Subject: [PATCH 3/3] BeLife: Removed newlines --- haiku-apps/belife/belife-1.0.0.recipe | 2 -- 1 file changed, 2 deletions(-) diff --git a/haiku-apps/belife/belife-1.0.0.recipe b/haiku-apps/belife/belife-1.0.0.recipe index a1c4192a0..dbd3a60ef 100644 --- a/haiku-apps/belife/belife-1.0.0.recipe +++ b/haiku-apps/belife/belife-1.0.0.recipe @@ -21,11 +21,9 @@ PROVIDES=" belife = $portVersion app:belife = $portVersion " - REQUIRES=" haiku >= $haikuVersion " - BUILD_PREREQUIRES=" makefile_engine cmd:g++