mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Merged in Begasus/haikuports_games/lmarbles (pull request #212)
lmarbles game for Haiku
This commit is contained in:
55
games-puzzle/lmarbles/lmarbles-1.0.8.recipe
Normal file
55
games-puzzle/lmarbles/lmarbles-1.0.8.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="LMarbles is 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/"
|
||||
SRC_URI="http://sourceforge.net/projects/lgames/files/lmarbles/lmarbles-1.0.8.tar.gz"
|
||||
CHECKSUM_SHA256="0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2000 Michael Speck"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PATCHES="lmarbles-1.0.8.patch"
|
||||
GLOBAL_WRITABLE_FILES="var/lmarbles.prfs keep-old"
|
||||
|
||||
PROVIDES="
|
||||
lmarbles = $portVersion
|
||||
cmd:lmarbles = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libsdl
|
||||
lib:libsdl_mixer
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
devel:libsdl
|
||||
devel:libsdl_mixer
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
addAppDeskbarSymlink $binDir/lmarbles LMarbles
|
||||
}
|
||||
20
games-puzzle/lmarbles/patches/lmarbles-1.0.8.patch
Normal file
20
games-puzzle/lmarbles/patches/lmarbles-1.0.8.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- lmarbles-1.0.8/configure.org 2009-10-26 20:56:13.000000000 +0100
|
||||
+++ lmarbles-1.0.8/configure 2014-07-14 18:31:02.527958016 +0200
|
||||
@@ -5154,7 +5154,7 @@
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lm $LIBS"
|
||||
+LIBS="$LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -5208,7 +5208,7 @@
|
||||
#define HAVE_LIBM 1
|
||||
_ACEOF
|
||||
|
||||
- LIBS="-lm $LIBS"
|
||||
+ LIBS="$LIBS"
|
||||
|
||||
else
|
||||
{ { echo "$as_me:$LINENO: error: lib math is needed" >&5
|
||||
Reference in New Issue
Block a user