changes to the recipe as requested

This commit is contained in:
begasus
2014-08-23 16:40:18 +02:00
parent fd5345c707
commit a013a03cc3

View File

@@ -1,5 +1,5 @@
SUMMARY="LTris as a tetris clone"
DESCRIPTION="LTris as a tetris clone: differently shaped blocks are falling down the \
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)."
@@ -9,37 +9,34 @@ 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
"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PATCHES="ltris-1.0.19.patch"
GLOBAL_WRITABLE_FILES="var/ltris.hscr keep-old"
PROVIDES="
ltris = $portVersion
cmd:ltris = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
haiku >= $haikuVersion
lib:libsdl
lib:libsdl_mixer
lib:libintl
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libsdl${secondaryArchSuffix}
devel:libsdl_mixer${secondaryArchSuffix}
devel:libintl${secondaryArchSuffix}
haiku_devel >= $haikuVersion
devel:libsdl
devel:libsdl_mixer
devel:libintl
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:gcc
cmd:ld
cmd:libtoolize
"
@@ -47,14 +44,10 @@ 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
}