mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
77 lines
2.2 KiB
Bash
77 lines
2.2 KiB
Bash
SUMMARY="Doom source port that accurately reproduces the experience of Doom"
|
|
DESCRIPTION="Chocolate Doom is a source port of the game Doom, by id Software. \
|
|
The purpose of Chocolate Doom is to be as compatible as possible with the \
|
|
original DOS version of Doom."
|
|
HOMEPAGE="http://www.chocolate-doom.org"
|
|
COPYRIGHT="Id Software Inc. 1993-1996
|
|
Simon Howard
|
|
James Haley
|
|
Samuel Villarreal"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.chocolate-doom.org/downloads/$portVersion/chocolate-doom-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ad11e2871667c6fa0658abf2dcba0cd9b26fbd651ee8df55adfdc18ad8fd674a"
|
|
SOURCE_DIR="chocolate-doom-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
chocolate_doom$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_doom$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_doom_setup$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_heretic_setup$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_heretic$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_hexen_setup$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_hexen$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_server$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_setup$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_strife_setup$secondaryArchSuffix = $portVersion
|
|
cmd:chocolate_strife$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libSDL_1.2$secondaryArchSuffix
|
|
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
|
lib:libSDL_net_1.2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsdl$secondaryArchSuffix
|
|
devel:libsdl_mixer$secondaryArchSuffix
|
|
devel:libsdl_net$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:install
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd src
|
|
mkdir -p $binDir
|
|
cp chocolate-doom \
|
|
chocolate-doom-setup \
|
|
chocolate-hexen \
|
|
chocolate-hexen-setup \
|
|
chocolate-heretic \
|
|
chocolate-heretic-setup \
|
|
chocolate-server \
|
|
chocolate-setup \
|
|
chocolate-strife-setup \
|
|
chocolate-strife $binDir/
|
|
}
|