0
0
Fork 0
haikuports/games-kids/abe/abe-1.1.recipe

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="4"
SOURCE_URI="https://sourceforge.net/projects/abe/files/abe/abe-1.1/abe-1.1.tar.gz"
CHECKSUM_SHA256="dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7"
SOURCE_DIR="abe-1.1"
PATCHES="abe-1.1.patch"
ARCHITECTURES="all ?x86"
PROVIDES="
abe= $portVersion
app:Abe= $portVersion
"
REQUIRES="
haiku
lib:libSDL_1.2
lib:libSDL_mixer_1.2
"
BUILD_REQUIRES="
haiku_devel
devel:libSDL_1.2
devel:libSDL_mixer_1.2
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:libtoolize
cmd:make
"
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
}