From f93a9505415e2648d5fe67c52f71e69eb98b448f Mon Sep 17 00:00:00 2001 From: Derek Tse Date: Mon, 12 Jan 2015 04:20:52 +0000 Subject: [PATCH] EggChess --- games-strategy/eggchess/eggchess-1.0.recipe | 52 +++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 games-strategy/eggchess/eggchess-1.0.recipe diff --git a/games-strategy/eggchess/eggchess-1.0.recipe b/games-strategy/eggchess/eggchess-1.0.recipe new file mode 100644 index 000000000..daaf555ce --- /dev/null +++ b/games-strategy/eggchess/eggchess-1.0.recipe @@ -0,0 +1,52 @@ +SUMMARY="Egg Chess" +DESCRIPTION="This game is similar to Tic-Tac-Toe. \ +However, instead of using Xs and Os, you use different egg forms. \ +What's more, YOU CAN ACTUALLY CHANGE A SQUARE WITH SOMETHING ELSE. \ +The first one to get three-in-a-row with the same egg form wins." +HOMEPAGE="http://www.haikuware.com/directory/view-details/development/games/egg-chess-ppc" +SRC_URI="https://codeload.github.com/psirockin/EggChess/zip/master" +CHECKSUM_SHA256="9c0b70ebda96d3acecfdb5fdd7c9e9d411d7b954267d815bc56575577e4987bb" +SOURCE_DIR="EggChess-master" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="Anders Lindström" + +ARCHITECTURES="x86 x86_gcc2" + +PROVIDES=" + eggchess = $portVersion + app:eggchess= $portVersion + " + +REQUIRES=" + haiku + lib:libsdl + lib:libsdl_mixer + " + +BUILD_REQUIRES=" + haiku_devel + devel:libsdl + devel:libsdl_mixer + " + +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc +" + +BUILD() +{ + cd src + mkdir -p objects + make $jobArgs +} + +INSTALL() +{ + mkdir -p $appsDir/EggChess + cd $sourceDir + cp eggchess.x86 $appsDir/EggChess + cp -r gfx docs $appsDir/EggChess + addAppDeskbarSymlink $appsDir/EggChess/eggchess.x86 +}