From b6f46ec6fa26190a33cfdb0c78a930d13aae0544 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 21 Jan 2014 22:27:05 +0100 Subject: [PATCH] Add Road Fighter. --- .../roadfighter/roadfighter-1.0.1269.recipe | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 games-arcade/roadfighter/roadfighter-1.0.1269.recipe diff --git a/games-arcade/roadfighter/roadfighter-1.0.1269.recipe b/games-arcade/roadfighter/roadfighter-1.0.1269.recipe new file mode 100644 index 000000000..2d0a61bf8 --- /dev/null +++ b/games-arcade/roadfighter/roadfighter-1.0.1269.recipe @@ -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). +"