Create recipe file

This commit is contained in:
Vale Tolpegin
2014-12-14 15:55:11 +00:00
parent 8a16a3550c
commit 66a25497c0

View File

@@ -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
}