Add Road Fighter.

This commit is contained in:
Adrien Destugues
2014-01-21 22:27:05 +01:00
parent a9c580ffe0
commit b6f46ec6fa

View File

@@ -0,0 +1,58 @@
SUMMARY="A 2d racing game. Can you finish the race in time?"
HOMEPAGE="http://www2.braingames.getput.com/roadf/"
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2009 Brain Games"
SRC_URI="http://braingames.jorito.net/roadfighter/downloads/roadfighter.src_1.0.1269.tgz"
CHECKSUM_MD5="a1626dda4d17ae30bbdd9c1ede2cd555"
REVISION="1"
ARCHITECTURES="x86_gcc2"
PROVIDES="
roadfighter = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
lib:libSDL_image$secondaryArchSuffix
lib:libSDL_mixer$secondaryArchSuffix
lib:libSDL_sound$secondaryArchSuffix
lib:libSDL_ttf$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libsdl$secondaryArchSuffix
devel:libSDL_image$secondaryArchSuffix
devel:libSDL_mixer$secondaryArchSuffix
devel:libSDL_sound$secondaryArchSuffix
devel:libSDL_ttf$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
installDir=$appsDir/"Road Fighter"
mkdir -p "$installDir"
make install PREFIX="$installDir" GAMEDIR="$installDir"
cd "$installDir"
echo -e "#!/bin/sh\n`cat roadfighter`" > roadfighter
addAppDeskbarSymlink "$installDir/roadfighter" "Road Fighter"
}
DESCRIPTION="
The goal is to reach the finish line within the stages without running out of
time, hitting other cars or running out of fuel (fuel is refilled by hitting a
special type of car).
"