icebreaker 1.9.7 new recipe (#633)

This commit is contained in:
Begasus
2016-06-21 01:56:55 +02:00
committed by waddlesplash
parent 261695b61d
commit c97fdae29c
4 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
SUMMARY="An addictive action-puzzle game"
DESCRIPTION="So, uh, there's a bunch of penguins on an iceberg in \
Antarctica. You have been selected to catch them so they can be shipped \
to Finland, where they are essential to a secret plot for world domination."
HOMEPAGE="https://mattdm.org/icebreaker/"
COPYRIGHT="2000-2002 Matthew Miller"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://mattdm.org/icebreaker/1.9.x/icebreaker-1.9.7.tgz"
CHECKSUM_SHA256="ca8b344a6a37b2041fba83271ae5e7566cbc8dc4c3367addd46f2a2f3573017e"
ADDITIONAL_FILES="icebreaker-$portVersion.rdef"
PATCHES="icebreaker-$portVersion.patch"
GLOBAL_WRITABLE_FILES="settings/icebreaker.scores keep-old"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
icebreaker = $portVersion
app:IceBreaker = $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_mixer
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libsdl_mixer
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
"
BUILD()
{
#install the app through HaikuDepot or drop/copy it to \
#system/packages
make prefix=$prefix bindir=$appsDir datadir=$dataDir \
highscoredir=$settingsDir mandir=$manDir
}
INSTALL()
{
make prefix=$prefix bindir=$appsDir datadir=$dataDir \
highscoredir=$settingsDir mandir=$manDir \
install
mv $appsDir/icebreaker $appsDir/IceBreaker
addResourcesToBinaries \
$portDir/additional-files/icebreaker-$portVersion.rdef \
$appsDir/IceBreaker
addAppDeskbarSymlink $appsDir/IceBreaker
}