icebreaker-1.9.8.recipe revision cf203d1f
1SUMMARY="An addictive action-puzzle game"
2DESCRIPTION="So, uh, there's a bunch of penguins on an iceberg in \
3Antarctica. You have been selected to catch them so they can be shipped \
4to Finland, where they are essential to a secret plot for world domination.
5
6Do not install this package in your ~/config/packages directory"
7HOMEPAGE="https://mattdm.org/icebreaker/"
8COPYRIGHT="2000-2002 Matthew Miller"
9LICENSE="GNU GPL v2"
10REVISION="1"
11SOURCE_URI="https://mattdm.org/icebreaker/1.9.x/icebreaker-$portVersion.tgz"
12CHECKSUM_SHA256="2e9b1e898c50562c503cb109172c422544d2e5de09e642bb8eb3401a9180adc4"
13PATCHES="icebreaker-$portVersion.patch"
14ADDITIONAL_FILES="icebreaker.rdef"
15
16ARCHITECTURES="x86_gcc2 x86 ?x86_64"
17
18GLOBAL_WRITABLE_FILES="settings/icebreaker.scores keep-old"
19
20PROVIDES="
21	icebreaker = $portVersion
22	app:IceBreaker = $portVersion
23	"
24REQUIRES="
25	haiku
26	lib:libSDL_1.2
27	lib:libSDL_mixer_1.2
28	"
29
30BUILD_REQUIRES="
31	haiku_devel
32	devel:libSDL
33	devel:libSDL_mixer
34	"
35BUILD_PREREQUIRES="
36	cmd:awk
37	cmd:gcc
38	cmd:make
39	"
40
41BUILD()
42{
43	#install the app through HaikuDepot or drop/copy it to \
44	#system/packages
45	make prefix=$prefix bindir=$appsDir \
46		datadir=$dataDir \
47		highscoredir=$settingsDir \
48		mandir=$manDir
49}
50
51INSTALL()
52{
53	make prefix=$prefix bindir=$appsDir \
54		datadir=$dataDir \
55		highscoredir=$settingsDir \
56		mandir=$manDir \
57		install
58	mv $appsDir/icebreaker $appsDir/IceBreaker
59
60	addResourcesToBinaries \
61		$portDir/additional-files/icebreaker.rdef \
62		$appsDir/IceBreaker
63
64	addAppDeskbarSymlink $appsDir/IceBreaker
65}
66