BeBattle: create recipe. (#1942)

* BeBattle: create recipe.
This commit is contained in:
Owen
2017-12-25 01:13:15 -08:00
committed by humdinger
parent 500d03a8e3
commit e1333b96c6

View File

@@ -0,0 +1,45 @@
SUMMARY="A fun strategy board game"
DESCRIPTION="BeBattle, a 1 or 2 players board strategy game in which you \
attempt to completely destroy your opponent's units."
HOMEPAGE="https://github.com/HaikuArchives/BeBattle/"
COPYRIGHT="1999-2000 Jonathan Villemure"
LICENSE="MIT"
REVISION="1"
COMMIT="e44b8fd01f895e1ef068ab330abd3e492d95d369"
SOURCE_URI="https://github.com/HaikuArchives/BeBattle/archive/$COMMIT.tar.gz"
CHECKSUM_SHA256="30be929f3fb9725fc8ca6f817fb75abd45c526436154d5dc397f39940b48f583"
SOURCE_DIR="BeBattle-$COMMIT"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
bebattle = $portVersion
app:BeBattle = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir/BeBattle
cd src
cp objects/BeBattle $appsDir/BeBattle
cp -r bmp $appsDir/BeBattle
addAppDeskbarSymlink $appsDir/BeBattle/BeBattle
}