mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Add broken teeworlds 0.6.3 recipe and patch
This commit is contained in:
59
games-action/teeworlds/teeworlds-0.6.3.recipe
Normal file
59
games-action/teeworlds/teeworlds-0.6.3.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="Teeworlds is 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!"
|
||||
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="2007-2012 Magnus Auvinen"
|
||||
|
||||
ARCHITECTURES="!x86" # Once it works, remove the bang
|
||||
if [ $effectiveTargetArchitecture != "x86_gcc2" ]; then
|
||||
ARCHITECTURES="!x86_gcc2 $ARCHITECTURES" # Once it works, remove the bang
|
||||
else
|
||||
ARCHITECTURES="!x86_gcc2 $ARCHITECTURES"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 !x86" # Once it works, remove the bang on x86
|
||||
REVISION="1"
|
||||
HOMEPAGE="https://www.teeworlds.com"
|
||||
SRC_URI="https://downloads.teeworlds.com/teeworlds-0.6.3-src.tar.gz"
|
||||
CHECKSUM_SHA256="490ee7c372898761c609af8d7b0c6bd55942c6c6fcd7f361eefa00abfc70077b"
|
||||
SOURCE_DIR="teeworlds-0.6.3-src"
|
||||
|
||||
PROVIDES="
|
||||
teeworlds$secondaryArchSuffix = $portVersion
|
||||
cmd:teeworlds$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libGLU$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglu$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:bam$secondaryArchSuffix
|
||||
cmd:python
|
||||
"
|
||||
|
||||
PATCHES="teeworlds-0.6.3.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
bam release
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp teeworlds $binDir
|
||||
}
|
||||
Reference in New Issue
Block a user