Files
haikuports/games-arcade/xrick/xrick-021212.recipe
2016-02-26 10:33:51 -05:00

57 lines
1.3 KiB
Bash

SUMMARY="A clone of Rick Dangerous"
DESCRIPTION="
Remember Rick Dangerous?
Way before Lara Croft, back in the 1980's and early 1990's, Rick Dangerous \
was the Indiana Jones of computer games, running away from rolling rocks, \
avoiding traps, from South America to a futuristic missile base via Egypt \
and theSchwarzendumpf castle."
HOMEPAGE="http://www.bigorno.net/xrick"
COPYRIGHT="2000-2006 Bigorno.net"
LICENSE="xrick"
REVISION="2"
SOURCE_URI="http://www.bigorno.net/xrick/xrick-021212.tgz"
CHECKSUM_SHA256="aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b"
PATCHES="xrick-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
xrick = $portVersion
app:xrick = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libsdl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs
rc -o xrick.rsrc xrick.rdef
xres -o xrick xrick.rsrc
}
INSTALL()
{
mkdir -p $appsDir/XRick
cp xrick $appsDir/XRick/XRick
cp data.zip $appsDir/XRick
cp ReadMe $appsDir/XRick
cp -r images $appsDir/XRick
addAppDeskbarSymlink $appsDir/XRick/XRick
}