Files
haikuports/haiku-games/bebattle/bebattle-1.0.0.recipe
nys fbc7bedf63 fix x86_64 for TimeTracker, Toner, WakeUp and BeBattle (#2019)
* haiku-apps/genesis_commander: mark as tested.
* haiku-apps/timetracker: add patch for gcc5 builds only.
* haiku-apps/toner: add patch, bump revision.
* haiku-apps/wakeup: add patch, bump revision.
* haiku-games/bebattle: add patch, bump revision.
2018-01-02 08:33:57 +00:00

47 lines
1010 B
Bash

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="2"
COMMIT="e44b8fd01f895e1ef068ab330abd3e492d95d369"
SOURCE_URI="https://github.com/HaikuArchives/BeBattle/archive/$COMMIT.tar.gz"
CHECKSUM_SHA256="30be929f3fb9725fc8ca6f817fb75abd45c526436154d5dc397f39940b48f583"
SOURCE_DIR="BeBattle-$COMMIT"
PATCHES="bebattle-$portVersion.patchset"
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
}