mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Add recipe for flare
This commit is contained in:
66
games-rpg/flare/flare-0.19.recipe
Normal file
66
games-rpg/flare/flare-0.19.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="Single-player 2D action RPG."
|
||||
DESCRIPTION="Flare is a a single-player 2D action RPG with fast-paced action \
|
||||
and a dark fantasy style."
|
||||
HOMEPAGE="http://flarerpg.org"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/flare-game/Linux/flare.0.19.tar.gz"
|
||||
CHECKSUM_SHA256="c96995fff6b71d44ddeae611b1ae4cd35162655f73088000786d03478f0a924e"
|
||||
SOURCE_DIR="flare.0.19"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="2010-2013 Clint Bellanger"
|
||||
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
flare$secondaryArchSuffix = $portVersion
|
||||
app:Flare$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsdl_ttf$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:sdl_mixer$secondaryArchSuffix
|
||||
devel:sdl_image$secondaryArchSuffix
|
||||
devel:sdl_ttf$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCHES="flare-0.19.patch"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/flare
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
mkdir -p $dataDir/flare
|
||||
cp flare $appsDir
|
||||
cp -r mods $dataDir/flare/
|
||||
addAppDeskbarSymlink $appsDir/flare "Flare"
|
||||
}
|
||||
Reference in New Issue
Block a user