mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
50 lines
1.0 KiB
Bash
50 lines
1.0 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="https://www.artsoft.org/mirrormagic/"
|
|
COPYRIGHT="1989-2003 Artsoft Entertainment"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2"
|
|
PATCHES="mirrormagic-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2"
|
|
|
|
PROVIDES="
|
|
mirrormagic = $portVersion
|
|
app:mirrormagic = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libSDL_1.2
|
|
lib:libSDL_image_1.2
|
|
lib:libSDL_mixer_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libSDL
|
|
devel:libSDL_image
|
|
devel:libSDL_mixer
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
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"
|
|
}
|