mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
52 lines
1.3 KiB
Bash
52 lines
1.3 KiB
Bash
SUMMARY="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="https://sourceforge.net/projects/gemz/"
|
|
COPYRIGHT="2003-2013 Jonathan Bilodeau"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://sourceforge.net/projects/gemz/files/gemz/Source/gemz-0.97.0.tgz/download"
|
|
CHECKSUM_SHA256="8a61bf40e6e12d6764a1a6d4f99aec27f1c54a31f26ce09d13a6596a33d8ee5a"
|
|
PATCHES="gemz-0.97.0.patch"
|
|
|
|
ARCHITECTURES="?all x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
gemz = $portVersion
|
|
app:Gemz = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libSDL_1.2
|
|
lib:libSDL_image_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libSDL
|
|
devel:libSDL_image
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/gemz
|
|
cp -r fonts gfx tilesets $appsDir/gemz
|
|
cp gemz $appsDir/gemz/gemz
|
|
|
|
addAppDeskbarSymlink $appsDir/gemz/gemz "Gemz"
|
|
}
|