supertux: Update recipe

Not working yet.
This commit is contained in:
François Revol
2014-07-04 00:56:16 +02:00
parent 5cf4a19f75
commit 8498b39c0e

View File

@@ -1,27 +1,49 @@
SUMMARY="A game similar to Super Mario Bros"
DESCRIPTION="
SuperTux is a classic 2D jump'n run sidescroller game in a style similar to \
the original Super Mario games.
"
HOMEPAGE="http://supertux.lethargik.org/"
SRC_URI="http://supertux.googlecode.com/files/supertux-0.1.3.tar.bz2"
STATUS_HAIKU="unstable"
CHECKSUM_MD5="f2fc288459f33d5cd8f645fbca737a63"
DEPEND=">=media-libs/libsdl-1.2.4"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2003 SuperTux Devel Team"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="supertux-0.1.3.patch"
PROVIDES="
supertux$secondaryArchSuffix = $portVersion
cmd:supertux$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libSDL_1.2$secondaryArchSuffix >= 0.11.4
"
BUILD_REQUIRES="
devel:libSDL_1.2$secondaryArchSuffix >= 0.11.4
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
BUILD()
{
cd supertux-0.1.3
autoreconf --force --install
./configure --prefix="`finddir B_COMMON_DIRECTORY`"
runConfigure ./configure
make
}
INSTALL()
{
cd supertux-0.1.3
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2003 SuperTux Devel Team"