Add SDL Lopan recipe.

* This could use better tileset and background graphics... any
suggestions?
This commit is contained in:
Adrien Destugues
2013-11-28 20:55:31 +01:00
parent f8b6827ae3
commit 1d59820519
2 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
SUMMARY="An SDL version of the Lopan game"
HOMEPAGE="http://www.linuxmotors.com/sdllopan/"
LICENSE="Public Domain"
COPYRIGHT="1999-2008 Dave Ashley"
SRC_URI="http://www.linuxmotors.com/sdllopan/downloads/sdllopan-10.tgz"
CHECKSUM_MD5="10c03c69d2df6bcae9d835d18215978f"
REVISION="1"
ARCHITECTURES="x86_gcc2"
PROVIDES="
sdllopan = $portVersion
app:lopan = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
haiku_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
PATCHES="sdllopan-10.patchset"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Lopan
cp lopan $appsDir/Lopan/Lopan
cp -r data $appsDir/Lopan
addAppDeskbarSymlink $appsDir/Lopan/Lopan Lopan
}
# ----- DESCRIPTION -----------------------------------------------------------
DESCRIPTION="
The well known Lopan (Mah Jongg) game. Find pair and try to remove all 144
tiles before getting locked.
"