mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
59 lines
1.5 KiB
Bash
59 lines
1.5 KiB
Bash
SUMMARY="A 2D racing game"
|
|
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)."
|
|
HOMEPAGE="http://www2.braingames.getput.com/roadf/"
|
|
COPYRIGHT="2003-2009 Brain Games"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://braingames.jorito.net/roadfighter/downloads/roadfighter.src_1.0.1269.tgz"
|
|
CHECKSUM_SHA256="c6ed315c4b2bf25d598ffa6b5dfd471e7f187ff29b86fd3213054fb6be7c57e7"
|
|
PATCHES="roadfighter-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2"
|
|
|
|
PROVIDES="
|
|
roadfighter = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
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
|
|
haiku_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make LDFLAGS=-lbe $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"
|
|
}
|