Files
haikuports/games-action/teeworlds/teeworlds-0.6.4.recipe
2021-04-12 22:41:18 +10:00

56 lines
1.4 KiB
Bash

SUMMARY="A retro multiplayer shooter"
DESCRIPTION="Teeworlds is a free online multiplayer game, available for \
all major operating systems. Battle with up to 16 players in a variety of \
game modes, including Team Deathmatch and Capture The Flag. You can even \
design your own maps!"
HOMEPAGE="https://www.teeworlds.com"
COPYRIGHT="2007-2012 Magnus Auvinen"
LICENSE="Zlib"
REVISION="1"
SOURCE_URI="https://downloads.teeworlds.com/teeworlds-$portVersion-src.tar.gz"
CHECKSUM_SHA256="c261d19ebb00b5451faa2ceb4a7ca945cad2add48b06046eb43b40ccc9fd98e2"
SOURCE_DIR="teeworlds-$portVersion-src"
PATCHES="teeworlds-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
teeworlds$secondaryArchSuffix = $portVersion
cmd:teeworlds$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libGLU$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfreetype$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:bam
cmd:gcc$secondaryArchSuffix
cmd:python
"
BUILD()
{
bam release
}
INSTALL()
{
mkdir -p $binDir
cp teeworlds $binDir
mkdir -p $dataDir
cp -r data $dataDir/Teeworlds
}