Files
haikuports/games-puzzle/gemz/gemz-0.97.0.recipe
2013-12-14 01:58:17 +00:00

54 lines
1.5 KiB
Plaintext

SUMMARY="Gemz is an SDL implementation of the popular puzzle game 'Bejeweled'."
DESCRIPTION="Gemz is an SDL implementation of the popular puzzle game 'Bejeweled'.
The objective of this game is to swap one gem with an adjacent gem to form a horizontal or vertical chain of three or more gems. Bonus points are given when chains of more than three identical gems are formed and when two chains are formed in one swap. Gems disappear when chains are formed and gems fall from the top to fill in gaps. Sometimes chain reactions, called cascades, are triggered, where chains are formed by the falling gems.
"
HOMEPAGE="http://sourceforge.net/projects/gemz/"
SRC_URI="http://sourceforge.net/projects/gemz/files/gemz/Source/gemz-0.97.0.tgz/download"
CHECKSUM_MD5="ea71e3cf9ee7f3b7f6d0a7f4cbe0af58"
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2013 Jonathan Bilodeau"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
gemz = $portVersion
app:gemz = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:which
cmd:sdl_config$secondaryArchSuffix
"
PATCHES="
gemz-0.97.0.patch
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p $appsDir/gemz
cp -r fonts gfx tilesets $appsDir/gemz
cp gemz $appsDir/gemz/gemz
addAppDeskbarSymlink $appsDir/gemz/gemz "Gemz"
}