mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Add Maelstrom. Blast the asteroids!
This commit is contained in:
75
games-action/maelstrom/maelstrom-3.0.6.recipe
Normal file
75
games-action/maelstrom/maelstrom-3.0.6.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="Blast the Asteroids!"
|
||||
DESCRIPTION="
|
||||
You pilot your ship through the dreaded \"Maelstrom\" asteroid belt -- suddenly
|
||||
your best friend thrusts towards you and fires, directly at your cockpit. You
|
||||
raise your shields just in time, and the battle is joined.
|
||||
|
||||
The deadliest stretch of space known to mankind has just gotten deadlier.
|
||||
Everywhere massive asteroids jostle for a chance to crush your ship, and deadly
|
||||
shinobi fighter patrols pursue you across the asteroid belt. But the deadliest
|
||||
of them all is your sister ship, assigned to you on patrol. The pilot, trained
|
||||
by your own Navy, battle hardened by months in the Maelstrom, is equipped with
|
||||
a twin of your own ship and intimate knowledge of your tactics.
|
||||
|
||||
The lovely Stratocaster R&R facility never sounded so good, but as you fire
|
||||
full thrusters to dodge the latest barrage you begin to think you'll never get
|
||||
home...
|
||||
"
|
||||
HOMEPAGE="http://www.libsdl.org/projects/Maelstrom"
|
||||
COPYRIGHT="Copyright (C) 1996-2005 Sam Lantinga"
|
||||
LICENSE="GNU GPL v2"
|
||||
SRC_URI="http://www.libsdl.org/projects/Maelstrom/src/Maelstrom-$portVersion.tar.gz"
|
||||
CHECKSUM_MD5="96aa6359538a6bd60b4198a792de578b"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
maelstrom$secondaryArchSuffix = $portVersion
|
||||
app:Maelstrom
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libSDL_net$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libSDL_net$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:autom4te
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:nasm
|
||||
cmd:libtoolize
|
||||
"
|
||||
SOURCE_DIR="Maelstrom-$portVersion"
|
||||
PATCHES="maelstrom-$portVersion.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
touch NEWS AUTHORS ChangeLog # Yeah, automake needs all this stuff...
|
||||
automake --add-missing
|
||||
autoconf
|
||||
|
||||
export LDFLAGS=-lnetwork
|
||||
export CPPFLAGS=-D__BEOS__
|
||||
runConfigure --omit-dirs "docDir dataRootDir" ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm -rf $appsDir
|
||||
mv $prefix/games $appsDir
|
||||
|
||||
cp Maelstrom Maelstrom-netd $appsDir/Maelstrom/
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Maelstrom/Maelstrom Maelstrom
|
||||
}
|
||||
24
games-action/maelstrom/patches/maelstrom-3.0.6.patchset
Normal file
24
games-action/maelstrom/patches/maelstrom-3.0.6.patchset
Normal file
@@ -0,0 +1,24 @@
|
||||
From 0aac53a13823ba5d1025006650115865a75944d4 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 12 Jan 2014 13:27:13 +0100
|
||||
Subject: Add haiku support to configure script.
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 0170f4b..4f99f3f 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -33,6 +33,10 @@ case "$target" in
|
||||
MATHLIB=""
|
||||
INETLIB=""
|
||||
;;
|
||||
+ *-*-haiku*)
|
||||
+ MATHLIB=""
|
||||
+ INETLIB="-lnetwork"
|
||||
+ ;;
|
||||
*-*-darwin*)
|
||||
MATHLIB=""
|
||||
INETLIB=""
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user