diff --git a/haiku-games/connect4/connect4-1.0.0.recipe b/haiku-games/connect4/connect4-1.0.0.recipe new file mode 100644 index 000000000..53e5970cb --- /dev/null +++ b/haiku-games/connect4/connect4-1.0.0.recipe @@ -0,0 +1,43 @@ +SUMMARY="The well known board game Connect Four" +DESCRIPTION="Connect-4 is a game where players take turns dropping pieces \ +down a column. The first player to get four consecutive pieces in a row, \ +column, or diagonal wins the game." +HOMEPAGE="https://github.com/HaikuArchives/Connect4" +COPYRIGHT="1997 Leo Chan" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://github.com/HaikuArchives/Connect4/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="4aa4af1345ee930c81f63be3aa4d1798cf1e860456448f13325b9cec776a919d" +SOURCE_FILENAME="Connect4-$portVersion.tar.gz" +SOURCE_DIR="Connect4-$portVersion" + +ARCHITECTURES="x86_gcc2 x86_64" + +PROVIDES=" + connect4 = $portVersion + app:Connect4 = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir + cp objects/Connect4 $appsDir + addAppDeskbarSymlink $appsDir/Connect4 +}