Tetris clone ltris for gcc2 and gcc4

This commit is contained in:
begasus
2014-08-23 10:41:28 +02:00
parent a850a8486b
commit fd5345c707
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
SUMMARY="LTris as a tetris clone"
DESCRIPTION="LTris as a tetris clone: differently shaped blocks are falling down the \
rectangular playing field and can be moved sideways or rotated by 90 degree \
units with the aim of building lines without gaps which then disappear \
(causing any block above the deleted line to fall down)."
HOMEPAGE="http://lgames.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/lgames/files/ltris/ltris-1.0.19.tar.gz"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2011 Michael Speck"
CHECKSUM_SHA256="8f6a9e7719d22004aee153db29ffd9ca41c7a6cd87fc791591994eecc2e625a1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
ltris$secondaryArchSuffix = $portVersion
cmd:ltris$secondaryArchSuffix = $portVersion
"
PATCHES="ltris-1.0.19.patch"
GLOBAL_WRITABLE_FILES="var/ltris.hscr keep-old"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libsdl${secondaryArchSuffix}
devel:libsdl_mixer${secondaryArchSuffix}
devel:libintl${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
"
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink $binDir/ltris LTris
mkdir -p $appsDir
ln -s $binDir/ltris $appsDir/LTris
}

View File

@@ -0,0 +1,11 @@
--- ltris-1.0.19/src/Makefile.in.org 2014-08-20 20:58:25.546308096 +0000
+++ ltris-1.0.19/src/Makefile.in 2014-08-20 20:49:15.268697600 +0000
@@ -167,7 +167,7 @@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lintl
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@