mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
This is NOT the mah jongg game. It plays with mah jongg tiles, but mah jongg is a 4-player game similar to poker and rami. I will accept "mah jongg solitaire".
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
SUMMARY="An SDL version of the Lopan (Mah Jongg solitaire) game"
|
|
DESCRIPTION="
|
|
The well known Lopan (Mah Jongg solitaire) game. Click on matching pairs and \
|
|
try to remove all 144 tiles.
|
|
|
|
Within the game, the ESC key exits, and RETURN reshuffles the board.
|
|
The arrow keys work as undo/redo.
|
|
|
|
F1 switches the tilesets, the data/tiles#.pcx files are used.
|
|
F2 switched the background, the data/bg#.pcx files are used.
|
|
In both cases, number files beginnging with 0.
|
|
"
|
|
HOMEPAGE="http://www.linuxmotors.com/sdllopan/"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1999-2008 Dave Ashley"
|
|
SRC_URI="http://www.linuxmotors.com/sdllopan/downloads/sdllopan-10.tgz"
|
|
CHECKSUM_SHA256="386de065bc8c3449c3b0b5e5651cb035cb1bdc242b425c865dd387c54ce708c3"
|
|
REVISION="3"
|
|
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
|
|
rc -o lopan.rsrc lopan.rdef
|
|
xres -o lopan lopan.rsrc
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/Lopan
|
|
cp lopan $appsDir/Lopan/Lopan
|
|
cp README $appsDir/Lopan/ReadMe
|
|
cp -r data $appsDir/Lopan
|
|
addAppDeskbarSymlink $appsDir/Lopan/Lopan
|
|
}
|