mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
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
50 lines
1.2 KiB
Bash
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"
|
|
}
|