diff --git a/games-kids/pipepanic/pipepanic-0.1.3.recipe b/games-kids/pipepanic/pipepanic-0.1.3.recipe index c718cd2b2..2a8ab8e1b 100644 --- a/games-kids/pipepanic/pipepanic-0.1.3.recipe +++ b/games-kids/pipepanic/pipepanic-0.1.3.recipe @@ -1,36 +1,50 @@ +SUMMARY="A SDL Pipepanic game." DESCRIPTION="Pipepanic is a pipe connecting game using libSDL. Connect as many different shaped pipes together as possible within the time given. " HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/" -SRC_URI="http://files.prochsoft.cba.pl/haiku/pipepanic-0.1.3-src.zip" -CHECKSUM_MD5="96EAD956431A7E391659D83D97AF6653" +SRC_URI="git+https://github.com/MrPoxipol/pipepanic-haiku.git" +LICENSE="GNU GPL v2" +COPYRIGHT="Copyright (c) Thunor 2005-2013" REVISION="1" -STATUS_HAIKU="unstable" -DEPEND="libsdl" +ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + pipepanic = $portVersion + app:pipepanic = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libsdl$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + haiku_devel >= $haikuVersion + cmd:gcc$secondaryArchSuffix + cmd:make + " + +BUILD_REQUIRES=" + devel:libsdl$secondaryArchSuffix + " BUILD() { - unzip pipepanic-0.1.3-src.zip - cd pipepanic-0.1.3-src make } INSTALL() { - mkdir bundle - mv pipepanic bundle/pipepanic - mv ascii15.bmp bundle/ascii15.bmp - mv ascii30.bmp bundle/ascii30.bmp - mv digits24.bmp bundle/digits24.bmp - mv digits48.bmp bundle/digits48.bmp - mv tiles24.bmp bundle/tiles24.bmp - mv tiles48.bmp bundle/tiles48.bmp - mv pipepanic.png bundle/pipepanic.png - make clean - - mkdir /boot/home/apps - mv bundle /boot/home/apps/Pipepanic + mkdir -p $appsDir/Pipepanic + cp pipepanic $appsDir/Pipepanic/pipepanic + cp ascii15.bmp $appsDir/Pipepanic/ascii15.bmp + cp ascii30.bmp $appsDir/Pipepanic/ascii30.bmp + cp digits24.bmp $appsDir/Pipepanic/digits24.bmp + cp digits48.bmp $appsDir/Pipepanic/digits48.bmp + cp tiles24.bmp $appsDir/Pipepanic/tiles24.bmp + cp tiles48.bmp $appsDir/Pipepanic/tiles48.bmp + cp pipepanic.png $appsDir/Pipepanic/pipepanic.png + addAppDeskbarSymlink $appsDir/Pipepanic/pipepanic } # no TEST script available - -COPYRIGHT="Copyright (c) Thunor 2005-2013" -LICENSE="GNU GPL v2"