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

62 lines
1.5 KiB
Bash

SUMMARY="An ARPG game engine"
DESCRIPTION="
Solarus is an open-source Zelda-like 2D game engine."
HOMEPAGE="http://solarus-games.org"
COPYRIGHT="2006-2013 Christopho, Solarus"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="http://www.solarus-games.org/downloads/solarus/solarus-1.1.1-src.tar.gz"
CHECKSUM_SHA256="5355e95edbd5234f57a8748d1417ca346468e5804e44293d2523b57367eb5615"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
solarus$secondaryArchSuffix = $portVersion
cmd:solarus = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL$secondaryArchSuffix
lib:libsdl_ttf$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libmodplug$secondaryArchSuffix >= 0.8.0
lib:libphysfs$secondaryArchSuffix
lib:liblua$secondaryArchSuffix == 5.1.4
lib:libopenal$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libSDL$secondaryArchSuffix
devel:libsdl_ttf$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libmodplug$secondaryArchSuffix >= 0.8.0
devel:libphysfs$secondaryArchSuffix
devel:liblua$secondaryArchSuffix == 5.1.4
devel:libopenal$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
"
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX="$prefix" \
-DCMAKE_BUILD_TYPE=Release .
make $jobArgs
}
INSTALL()
{
make install
}