63 lines
1.3 KiB
Bash
63 lines
1.3 KiB
Bash
SUMMARY="A tetris clone"
|
|
DESCRIPTION="LTris is 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/"
|
|
COPYRIGHT="2002-2011 Michael Speck"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://sourceforge.net/projects/lgames/files/ltris/ltris-1.0.19.tar.gz"
|
|
CHECKSUM_SHA256="8f6a9e7719d22004aee153db29ffd9ca41c7a6cd87fc791591994eecc2e625a1"
|
|
PATCHES="ltris-1.0.19.patchset"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
|
|
PROVIDES="
|
|
ltris = $portVersion
|
|
app:LTris = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libintl
|
|
lib:libSDL_1.2
|
|
lib:libSDL_mixer_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libintl
|
|
devel:libSDL
|
|
devel:libSDL_mixer
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
LDFLAGS=-lintl runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$appsDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
mv $appsDir/ltris $appsDir/LTris
|
|
|
|
# Clean up some unnecessary things from the package
|
|
rm -rf $localStateDir
|
|
rm -rf $dataDir/{applications,icons}
|
|
|
|
addResourcesToBinaries LTris.rdef $appsDir/LTris
|
|
|
|
addAppDeskbarSymlink $appsDir/LTris LTris
|
|
}
|