From a531fb3e740f666f7ba2c29130e4c8dbbb0355ae Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 17 Oct 2013 21:48:07 -0500 Subject: [PATCH] quake3: Add quake3 recipe * Builds my tweaked quake3 sources * You need the original Quake 3 CD data in ~/.q3a/baseq3 to play. --- games-action/quake3/quake3-0.6.1.recipe | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 games-action/quake3/quake3-0.6.1.recipe diff --git a/games-action/quake3/quake3-0.6.1.recipe b/games-action/quake3/quake3-0.6.1.recipe new file mode 100644 index 000000000..6580d17fd --- /dev/null +++ b/games-action/quake3/quake3-0.6.1.recipe @@ -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 +}