Files
haikuports/games-engines/gemrb/gemrb-0.8.1.recipe
2016-02-28 20:17:42 -05:00

55 lines
1.3 KiB
Bash

SUMMARY="An infinite game engine generator"
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?"
HOMEPAGE="https://github.com/gemrb/gemrb"
COPYRIGHT="2003-2010 The GemRB Team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/gemrb/gemrb/archive/v0.8.1.tar.gz"
CHECKSUM_SHA256="02e7d70f5f3f37d424a3bd2ceb705b8d532fb58d5a1da0a88fb20bc1b67e11b1"
SOURCE_DIR="gemrb-$portVersion"
PATCHES="gemrb_x86-0.8.1.patchset"
ARCHITECTURES="x86 x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gemrb = $portVersion
app:gemrb = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libutil$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl_1.2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:cmake
cmd:make
cmd:python
"
BUILD()
{
mkdir -p build
cd build
cmake -DPREFIX=$appsDir ../
make $jobArgs
}
INSTALL()
{
cd build
make install
}