0
0
Fork 0
haikuports/games-puzzle/lmarbles/lmarbles-1.0.8.recipe

63 lines
1.6 KiB
Bash

SUMMARY="An Atomix clone with a slight change in concept"
DESCRIPTION="LMarbles is an Atomix clone with a slight change in concept. \
Instead of assembling molecules you create figures out of marbles. \
Nevertheless, the basic game play is the same: If a marble starts to move \
it will not stop until it hits a wall or another marble. To make it more \
interesting there are obstacles like one-way streets, crumbling walls and \
portals. As Marbles is meant as a puzzle game you play against a move limit \
and not a time limit. This way you have as much time as you need to think."
HOMEPAGE="http://lgames.sourceforge.net/"
COPYRIGHT="2000 Michael Speck"
LICENSE="GNU GPL v2"
REVISION="4"
SOURCE_URI="http://sourceforge.net/projects/lgames/files/lmarbles/lmarbles-1.0.8.tar.gz"
CHECKSUM_SHA256="0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83"
PATCHES="lmarbles-1.0.8.patchset"
ADDITIONAL_FILES="lmarbles.rdef"
ARCHITECTURES="all ?x86"
PROVIDES="
lmarbles = $portVersion
app:LMarbles = $portVersion
"
REQUIRES="
haiku
lib:libSDL_1.2
lib:libSDL_mixer_1.2
"
BUILD_REQUIRES="
haiku_devel
devel:libSDL
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc
cmd:make
"
BUILD()
{
autoreconf -vfi
runConfigure --omit-dirs binDir \
./configure --bindir=$appsDir
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/lmarbles $appsDir/LMarbles
rm $localStateDir/lmarbles.prfs
rm -rf $dataDir/{applications,icons}
addResourcesToBinaries $portDir/additional-files/lmarbles.rdef $appsDir/LMarbles
addAppDeskbarSymlink $appsDir/LMarbles LMarbles
mimeset -f $appsDir/LMarbles
}