From 66a25497c0bf0eb106f949c7bc3e6992b6d221ba Mon Sep 17 00:00:00 2001 From: Vale Tolpegin Date: Sun, 14 Dec 2014 15:55:11 +0000 Subject: [PATCH] Create recipe file --- games-engines/gemrb/gemrb-0.8.1.recipe | 65 ++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 games-engines/gemrb/gemrb-0.8.1.recipe diff --git a/games-engines/gemrb/gemrb-0.8.1.recipe b/games-engines/gemrb/gemrb-0.8.1.recipe new file mode 100644 index 000000000..02fc55866 --- /dev/null +++ b/games-engines/gemrb/gemrb-0.8.1.recipe @@ -0,0 +1,65 @@ +SUMMARY="GemRB is an Infinite game engine generator that allows \ + players to play in sandbox mode + " +DESCRIPTION="GemRB (Game Engine Made with preRendered Background) \ + is a port (actually a new implementation) of the original Infinity \ + Engine (the one of Baldur's Gate, Icewind Dale, Planescape: Torment, ...) \ + to Linux/Unix, MacOS X and Windows with some enhancements. Would \ + you like to create a game like Baldur's Gate? + " + +LICENSE="MIT" +COPYRIGHT="2003-2010 The GemRB Team" + +HOMEPAGE="https://github.com/gemrb/gemrb" +SRC_URI="https://github.com/gemrb/gemrb/archive/v0.8.1.tar.gz" + +SOURCE_DIR="gemrb-$portVersion" + +ARCHITECTURES="x86 x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +CHECKSUM_SHA256="02e7d70f5f3f37d424a3bd2ceb705b8d532fb58d5a1da0a88fb20bc1b67e11b1" + +REVISION="1" + +PROVIDES=" + gemrb = $portVersion + app:gemrb = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libSDL_1.2$secondaryArchSuffix + lib:libz$secondaryArchSuffix + lib:libutil$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libsdl_1.2$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:cmake + cmd:make + cmd:python + " + +PATCHES="gemrb_x86-0.8.1.patchset" + +BUILD() +{ + mkdir -p build + cd build + cmake -DPREFIX=$appsDir ../ + make $jobArgs +} + +INSTALL() +{ + cd build + make install +} \ No newline at end of file