Abe recipe. For some reason, the game itself crashes upon launch.

This commit is contained in:
Derek Tse
2015-01-10 01:19:24 +00:00
parent f1bd380c3c
commit d636a7ba84

View File

@@ -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
}