Teeworlds: fix build.

Fixes #142.
This commit is contained in:
Adrien Destugues
2016-03-26 15:54:12 +01:00
parent c42a31ed4d
commit 9363d97610
2 changed files with 107 additions and 39 deletions

View File

@@ -10,7 +10,7 @@ REVISION="1"
SOURCE_URI="https://downloads.teeworlds.com/teeworlds-0.6.3-src.tar.gz"
CHECKSUM_SHA256="490ee7c372898761c609af8d7b0c6bd55942c6c6fcd7f361eefa00abfc70077b"
SOURCE_DIR="teeworlds-0.6.3-src"
PATCHES="teeworlds-0.6.3.patch"
PATCHES="teeworlds_0.6.3.patchset"
ARCHITECTURES="!x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="?x86"
@@ -23,6 +23,8 @@ REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libGL$secondaryArchSuffix
lib:libGLU$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
"
BUILD_REQUIRES="
@@ -34,7 +36,7 @@ BUILD_PREREQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:bam$secondaryArchSuffix
cmd:bam
cmd:python
"
@@ -47,4 +49,7 @@ INSTALL()
{
mkdir -p $binDir
cp teeworlds $binDir
mkdir -p $dataDir
cp -r data $dataDir/Teeworlds
}