0
0
Fork 0
haikuports/games-fps/quake3/quake3-0.6.1.recipe

54 lines
1.3 KiB
Bash

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="https://www.idsoftware.com"
COPYRIGHT="1999-2005 Id Software, Inc."
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://github.com/kallisti5/quake3/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="755fc8ea237bd6f296764c7e2ea84638797ec6ffd88a9e17a486a8ee1c666a95"
SOURCE_FILENAME="quake3-$portVersion.tar.gz"
SOURCE_DIR="quake3-$portVersion"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
quake3$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:nasm
devel:libGL$secondaryArchSuffix
"
BUILD()
{
cd code/beos
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
cp $(find code/beos/* -name 'Quake3') $appsDir/
addAppDeskbarSymlink $appsDir/Quake3
}