quake3: Add quake3 recipe

* Builds my tweaked quake3 sources
* You need the original Quake 3 CD
  data in ~/.q3a/baseq3 to play.
This commit is contained in:
Alexander von Gluck IV
2013-10-17 21:48:07 -05:00
parent 78b0168893
commit a531fb3e74

View File

@@ -0,0 +1,48 @@
SUMMARY="A multiplayer-focused first-person shooter"
DESCRIPTION="Quake 3 (also known as Q3A or Q3) is a fast paced
first-person shooter based.
Warning: While the Quake 3 game engine was released under the
GPL, this version requires a valid Quake 3 license code and
the original Quake 3 CD (placed into ~/.q3a/baseq3 or
~/.q3a/demota depending on which Quake 3 media you have)"
HOMEPAGE="http://www.idsoftware.com"
COPYRIGHT="Copyright (C) 1999-2005 Id Software, Inc."
LICENSE="GNU GPL v2"
SRC_URI="http://github.com/kallisti5/quake3/archive/$portVersion.tar.gz"
CHECKSUM_MD5="d7f6106605ccd06ec94a3715f8aa34c5"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
quake3$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:nasm
"
#lib:libGL
SOURCE_DIR="quake3-$portVersion"
BUILD()
{
cd code/beos
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
cp $(find code/beos/* -name 'Quake3') $appsDir/
addAppDeskbarSymlink $appsDir/Quake3
}