mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
45 lines
972 B
Bash
45 lines
972 B
Bash
SUMMARY="A simple checkers game for two players"
|
||
DESCRIPTION="
|
||
BeCheckers is a simple checkers game for two players. It follows almost all \
|
||
American Checker Federation (ACF) rules."
|
||
HOMEPAGE="https://github.com/HaikuArchives/BeCheckers"
|
||
COPYRIGHT="2000 Jeremy J. Gibbons"
|
||
LICENSE="MIT"
|
||
REVISION="2"
|
||
gitCommit="d4fbfc69656ba5861184d37f7932b9a53ff28373"
|
||
SOURCE_URI="$HOMEPAGE/archive/$gitCommit.tar.gz"
|
||
CHECKSUM_SHA256="e47de842a44ce1dcd548a4eb1a32f27120f84bb7de64c86de71f1e3ae6a3dec1"
|
||
SOURCE_DIR="BeCheckers-$gitCommit"
|
||
PATCHES="becheckers-$portVersion.patchset"
|
||
|
||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||
|
||
PROVIDES="
|
||
BeCheckers = $portVersion
|
||
app:BeCheckers = $portVersion
|
||
"
|
||
REQUIRES="
|
||
haiku
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku_devel
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
cmd:gcc
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
g++ -o BeCheckers -lbe \
|
||
BeCheckers.cpp BeCheckersWindow.cpp \
|
||
Checker.cpp CheckerBoard.cpp
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
mkdir -p $appsDir
|
||
cp BeCheckers $appsDir
|
||
addAppDeskbarSymlink $appsDir/BeCheckers
|
||
}
|