From e1333b96c62ae295188dc416b922c259dcf2bcd6 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 25 Dec 2017 01:13:15 -0800 Subject: [PATCH] BeBattle: create recipe. (#1942) * BeBattle: create recipe. --- haiku-games/bebattle/bebattle-1.0.0.recipe | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 haiku-games/bebattle/bebattle-1.0.0.recipe diff --git a/haiku-games/bebattle/bebattle-1.0.0.recipe b/haiku-games/bebattle/bebattle-1.0.0.recipe new file mode 100644 index 000000000..92aa5042c --- /dev/null +++ b/haiku-games/bebattle/bebattle-1.0.0.recipe @@ -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 +}