mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
69 lines
1.9 KiB
Bash
69 lines
1.9 KiB
Bash
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="2"
|
|
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
|
|
}
|