From d636a7ba8457de2ec0f6cd0ad6c127c880130de2 Mon Sep 17 00:00:00 2001 From: Derek Tse Date: Sat, 10 Jan 2015 01:19:24 +0000 Subject: [PATCH] Abe recipe. For some reason, the game itself crashes upon launch. --- games-kids/abe/abe-1.1.recipe | 66 +++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 games-kids/abe/abe-1.1.recipe diff --git a/games-kids/abe/abe-1.1.recipe b/games-kids/abe/abe-1.1.recipe new file mode 100644 index 000000000..f63def4e8 --- /dev/null +++ b/games-kids/abe/abe-1.1.recipe @@ -0,0 +1,66 @@ +SUMMARY="Abe's Amazing Adventure!!" +DESCRIPTION="This is a very simple platformer game for children. \ +It's a worthwhile adventure, no doubt. Find treasures as you go! \ +In addition, this game also comes with a Map Editor. +" +HOMEPAGE="http://abe.sourceforge.net/" +SRC_URI="http://superb-dca3.dl.sourceforge.net/project/abe/abe/abe-1.1/abe-1.1.tar.gz" +CHECKSUM_SHA256="dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7" +SOURCE_DIR="abe-1.1" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="2001-2013 Gabor Torok" + +ARCHITECTURES="x86 x86_gcc2" + +PROVIDES=" + Abe= $portVersion + app:Abe= $portVersion + " + +REQUIRES=" + haiku + lib:libsdl + lib:libsdl_mixer + " + +BUILD_REQUIRES=" + haiku_devel + devel:libsdl + devel:libsdl_mixer + " + +BUILD_PREREQUIRES=" + cmd:libtoolize + cmd:make + cmd:gcc + cmd:aclocal + cmd:automake + cmd:autoconf +" + +PATCH() +{ + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in +} + +BUILD() +{ +libtoolize --force --copy --install +aclocal -I $sourceDir +autoconf +./autogen.sh +runConfigure ./configure +make $jobArgs +} + +INSTALL() +{ + make install + mkdir -p $appsDir/Abe + cd src + cp abe $appsDir/Abe + cd $sourceDir + cp -r maps savegame sounds images devcpp dist $appsDir/Abe + addAppDeskbarSymlink $appsDir/Abe/abe +}