Files
haikuports/games-puzzle/sdllopan/sdllopan-10.recipe
Scott McCreary 4963185249 Fixes for sdl2_image and sdl2_ttf (#1135)
* Add title to sdllopan window
* Fixes for sdl2_image and sdl2_ttf
* WIP recipes for box2d and numptyphysics
2017-02-02 10:14:05 -08:00

57 lines
1.4 KiB
Bash

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/"
COPYRIGHT="1999-2008 Dave Ashley"
LICENSE="GNU GPL v2"
REVISION="4"
SOURCE_URI="http://www.linuxmotors.com/sdllopan/downloads/sdllopan-10.tgz"
CHECKSUM_SHA256="386de065bc8c3449c3b0b5e5651cb035cb1bdc242b425c865dd387c54ce708c3"
PATCHES="sdllopan-10.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
sdllopan = $portVersion
app:lopan = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
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
}