Files
haikuports/games-kids/abe/abe-1.1.recipe
2016-02-17 14:39:36 -05:00

66 lines
1.2 KiB
Bash

SUMMARY="A simple platformer game for children"
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="1"
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
"
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
}