Files
haikuports/games-kids/abe/abe-1.1.recipe
2016-05-06 12:37:58 +02:00

58 lines
1.2 KiB
Bash

SUMMARY="A simple platform game"
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/"
COPYRIGHT="2001-2013 Gabor Torok"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_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"
PATCHES="abe-1.1.patch"
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
"
BUILD()
{
libtoolize --force --copy --install
aclocal -I $sourceDir
autoconf
./autogen.sh
runConfigure --omit-dirs binDir ./configure --bindir=$appsDir/Abe
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/Abe/abe $appsDir/Abe/Abe
cd $sourceDir
cp -r maps savegame sounds images devcpp dist $appsDir/Abe
addAppDeskbarSymlink $appsDir/Abe/Abe Abe
}