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="3"
SOURCE_URI="http://www.bigorno.net/xrick/xrick-021212.tgz"
CHECKSUM_SHA256="aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b"
PATCHES="xrick-$portVersion.patchset"

ARCHITECTURES="?all x86_gcc2"

PROVIDES="
	xrick = $portVersion
	app:xrick = $portVersion
	"
REQUIRES="
	haiku
	lib:libSDL_1.2
	lib:libz
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libSDL
	devel:libz
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:ld
	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
}
