OpenTyrian: add recipe and patch for version 2.1

This commit is contained in:
Mikołaj 'lich' Halber
2015-12-15 19:21:29 +01:00
parent c7ad890adc
commit 9958069872
3 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
SUMMARY="A port of the DOS shoot-em-up Tyrian"
DESCRIPTION="OpenTyrian is an arcade-style vertical scrolling shooter. The story is set in the \
year 20,031 where you play as Trent Hawkins, a skilled fighter-pilot employed to fight Microsol \
and save the galaxy. February 2007 the Pascal source code for Tyrian was licensed for a small \
group of developers to re-write it in C, in a project named OpenTyrian, licensed under the GNU \
General Public License. Following that announcement, in April 2007 Daniel Cook announced the \
free availability of his Tyrian artwork under generic liberal terms."
HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/"
COPYRIGHT="OpenTyrian Team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.camanis.net/opentyrian/releases/opentyrian-$portVersion-src.tar.gz"
SOURCE_DIR="opentyrian-$portVersion"
CHECKSUM_SHA256="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f"
PATCHES="opentyrian-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 ?x86_64 ?x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
opentyrian = $portVersion
app:OpenTyrian
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL$secondaryArchSuffix
lib:libsdl_net$secondaryArchSuffix
opentyrian_data
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libsdl_net$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/OpenTyrian
cp opentyrian* $appsDir/OpenTyrian/OpenTyrian
addAppDeskbarSymlink $appsDir/OpenTyrian/OpenTyrian OpenTyrian
}