From 8498b39c0e9a058f719739e2cd84018e69e41d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 4 Jul 2014 00:56:16 +0200 Subject: [PATCH] supertux: Update recipe Not working yet. --- games-arcade/supertux/supertux-0.1.3.recipe | 36 +++++++++++++++++---- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/games-arcade/supertux/supertux-0.1.3.recipe b/games-arcade/supertux/supertux-0.1.3.recipe index 169162f3b..5cf7a4dd5 100644 --- a/games-arcade/supertux/supertux-0.1.3.recipe +++ b/games-arcade/supertux/supertux-0.1.3.recipe @@ -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"