1SUMMARY="A action-puzzle game, similar to tetris" 2DESCRIPTION="Amoebax is a cute and addictive action-puzzle game. \ 3Due an awful mutation, some amoeba's species have started to multiply \ 4until they take the world if you can't stop them. Fortunately the \ 5mutation made then too unstable and lining up four or more will make \ 6them disappear." 7HOMEPAGE="http://www.emma-soft.com/games/amoebax/" 8COPYRIGHT="2006-2007 Jordi Fita (Code), Safareig Creatiu (Graphics), ��lex \ 9Almarza (Music & Sound), Ferran Brugat (Web Page)" 10LICENSE="GNU GPL v2 11 LALv1.2" 12REVISION="3" 13SOURCE_URI="http://www.emma-soft.com/games/amoebax/download/amoebax-$portVersion.tar.bz2" 14CHECKSUM_SHA256="709c7e657b328a6f7d331298c6264f172528489d28cab107c40c483c392340b2" 15PATCHES="amoebax-$portVersion.patchset" 16ADDITIONAL_FILES="amoebax.rdef" 17 18ARCHITECTURES="all !x86_gcc2" 19SECONDARY_ARCHITECTURES="x86" 20 21PROVIDES=" 22 amoebax$secondaryArchSuffix = $portVersion 23 app:AmoeBax = $portVersion 24 " 25REQUIRES=" 26 haiku$secondaryArchSuffix 27 lib:libSDL_1.2$secondaryArchSuffix 28 lib:libSDL_image_1.2$secondaryArchSuffix 29 lib:libSDL_mixer_1.2$secondaryArchSuffix 30 " 31 32BUILD_REQUIRES=" 33 haiku${secondaryArchSuffix}_devel 34 devel:libSDL$secondaryArchSuffix 35 devel:libSDL_image$secondaryArchSuffix 36 devel:libSDL_mixer$secondaryArchSuffix 37 " 38BUILD_PREREQUIRES=" 39 cmd:gcc$secondaryArchSuffix 40 cmd:libtoolize$secondaryArchSuffix 41 cmd:make 42 " 43 44BUILD() 45{ 46 libtoolize -fci 47 runConfigure --omit-dirs binDir \ 48 ./configure --bindir=$appsDir \ 49 --disable-dependency-tracking 50} 51 52INSTALL() 53{ 54 make install 55 mv $appsDir/amoebax $appsDir/AmoeBax 56 rm -rf $dataDir/{applications,pixmaps} 57 58 local MAJOR="`echo "$portVersion" | cut -d. -f1`" 59 local MIDDLE="`echo "$portVersion" | cut -d. -f2`" 60 local MINOR="`echo "$portVersion" | cut -d. -f3`" 61 sed \ 62 -e "s|@MAJOR@|$MAJOR|" \ 63 -e "s|@MIDDLE@|$MIDDLE|" \ 64 -e "s|@MINOR@|$MINOR|" \ 65 $portDir/additional-files/amoebax.rdef > amoebax.rdef 66 67 addResourcesToBinaries amoebax.rdef \ 68 $appsDir/AmoeBax 69 70 addAppDeskbarSymlink $appsDir/AmoeBax 71} 72