mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
Connect4 [recipe] (#3356)
This commit is contained in:
43
haiku-games/connect4/connect4-1.0.0.recipe
Normal file
43
haiku-games/connect4/connect4-1.0.0.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user