amoebax, new recipe (#670)

This commit is contained in:
Begasus
2016-07-22 23:33:58 +02:00
committed by waddlesplash
parent 6dda7ad1fc
commit 6d131f6e9c
3 changed files with 303 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
SUMMARY="A action-puzzle game, similar to tetris"
DESCRIPTION="Amoebax is a cute and addictive action-puzzle game. \
Due an awful mutation, some amoeba's species have started to multiply \
until they take the world if you can't stop them. Fortunately the \
mutation made then too unstable and lining up four or more will make \
them disappear."
HOMEPAGE="http://www.emma-soft.com/games/amoebax/"
COPYRIGHT="2006-2007 Jordi Fita (Code), Safareig Creatiu (Graphics), Àlex \
Almarza (Music & Sound), Ferran Brugat (Web Page)"
LICENSE="GNU GPL v2
LALv1.2"
REVISION="1"
SOURCE_URI="http://www.emma-soft.com/games/amoebax/download/amoebax-$portVersion.tar.bz2"
CHECKSUM_SHA256="709c7e657b328a6f7d331298c6264f172528489d28cab107c40c483c392340b2"
ADDITIONAL_FILES="amoebax.rdef"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
amoebax$secondaryArchSuffix = $portVersion
app:AmoeBax = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
libtoolize -fci
configure --prefix=$appsDir/AmoeBax
}
INSTALL()
{
make install
mv $appsDir/AmoeBax/bin/amoebax $appsDir/AmoeBax/AmoeBax
rm -r $appsDir/AmoeBax/bin
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
sed \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
$portDir/additional-files/amoebax.rdef > amoebax.rdef
addResourcesToBinaries amoebax.rdef \
$appsDir/AmoeBax/AmoeBax
addAppDeskbarSymlink $appsDir/AmoeBax/AmoeBax
}