Files
haikuports/games-puzzle/mirrormagic/mirrormagic-2.0.2.recipe
Humdinger 4b87f53b6a Mostly recipe cosmetics: improved SUMMARY/DESCRIPTION and re-ordering blocks
and:

*	befar
	Remove unneeded $secondaryArchSuffix
	Use g++

*	mirrormagic
	Remove unneeded $secondaryArchSuffix

*	slime_volley
	Replaced slime_volley with slimevolley in PROVIDES
	Add lib:libsdl_net in REQUIRES

*	super_transball
	Remove unneeded $secondaryArchSuffix
	Replaced super_transball with stransball2 in PROVIDES
2015-08-26 19:52:24 +02:00

50 lines
1.2 KiB
Bash

SUMMARY="A game like Deflektor (C64) or Mindbender (Amiga)"
DESCRIPTION="Make the laser reach the target by rotating mirrors. Beware of \
overheating!"
HOMEPAGE="http://www.artsoft.org/mirrormagic/"
COPYRIGHT="1989-2003 Artsoft Entertainment"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-2.0.2.tar.gz"
CHECKSUM_SHA256="79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2"
PATCHES="mirrormagic-2.0.2.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
mirrormagic = $portVersion
app:mirrormagic = $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:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
# parallel build not available.
make sdl
}
INSTALL()
{
destDir="$appsDir/Mirror Magic"
mkdir -p "$destDir"
cp -r mirrormagic graphics levels music sounds "$destDir"
addAppDeskbarSymlink "$destDir/mirrormagic" "Mirror Magic"
}