Files
haikuports/games-arcade/goonies/goonies-1.4.1528.recipe
2016-02-17 14:39:36 -05:00

73 lines
2.3 KiB
Bash

SUMMARY="Find treasure and escape back to save the Goon Docks from demolition"
DESCRIPTION="The action takes place in the sleepy seaside town of Cauldron \
Point - down in an area known as the Goon Docks. The Goonies are a group of \
local kids - Mikey, Brand, Mouth, Chunk and Data. One day they find an old \
treasure map in Mikey's attic.
Data figures that this must be the fabulous hidden treasure of the \
notorious local pirate, One-Eyed Willy.
The girls, Andy and Stef, join the other Goonies and the adventure begins. But \
the secret underground tunnels they are exploring are actually the hideout of \
the Fratelli Gang, and the Goonies are soon trapped! The Goonies have a \
powerful ally on their side, however, in the form of the huge and amiable Sloth.
When you play this game, you are Sloth! Can you help the Goonies find the \
treasure and escape back to save the Goon Docks from demolition?"
HOMEPAGE="http://www2.braingames.getput.com/goonies/"
COPYRIGHT="2006-2009 Brain Games"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://braingames.jorito.net/goonies/downloads/goonies.src_1.4.1528.tgz"
CHECKSUM_SHA256="9e9c1e67a41dfae512e975b6931828cdc82f07397921ca0a41a81c3020a73799"
PATCHES="goonies-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
goonies$secondaryArchSuffix = $portVersion
app:goonies
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libSDL_image$secondaryArchSuffix
lib:libSDL_mixer$secondaryArchSuffix
# lib:libSDL_sound$secondaryArchSuffix
# lib:libSDL_ttf$secondaryArchSuffix
lib:libGLU$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
# devel:libsdl_sound$secondaryArchSuffix
# devel:libsdl_ttf$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
make install PREFIX=$appsDir/Goonies GAMEDIR=$appsDir/Goonies
rm $appsDir/Goonies/goonies
mv $appsDir/Goonies/share/games/goonies/* $appsDir/Goonies
mv $appsDir/Goonies/goonies $appsDir/Goonies/Goonies
rm -rf $appsDir/Goonies/share
addAppDeskbarSymlink $appsDir/Goonies/Goonies
}