mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
WIP libsdl, added secondaryArchSuffix
This commit is contained in:
@@ -10,22 +10,22 @@ COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
libsdl = $portVersion compat >= 1.2
|
||||
lib:libSDL = 0.11.4 compat >= 0.11
|
||||
lib:libSDL_1.2 = 0.11.4 compat >= 0.11
|
||||
libsdl$secondaryArchSuffix = $portVersion
|
||||
lib:libSDL$secondaryArchSuffix = 0.11.4 compat >= 0
|
||||
lib:libSDL_1.2$secondaryArchSuffix = 1.2_0.11.4 compat >= 1.2_0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
# lib:libGL
|
||||
lib:libglu
|
||||
# lib:libGL$secondaryArchSuffix
|
||||
lib:libglu$secondaryArchSuffix
|
||||
lib:libpng
|
||||
lib:libjpeg
|
||||
lib:libtiff
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
# devel:mesa
|
||||
devel:libglu
|
||||
# devel:libGL$secondaryArchSuffix
|
||||
devel:libglu$secondaryArchSuffix
|
||||
devel:libpng
|
||||
devel:libjpeg
|
||||
# devel:libtiff
|
||||
@@ -37,8 +37,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:nasm
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL-$portVersion"
|
||||
@@ -149,12 +150,13 @@ TEST()
|
||||
# ----- devel package ------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libsdl${secondaryArchSuffix}_devel = 1.2.15 compat >= 1.2
|
||||
cmd:sdl_config = $portVersion compat >= 1.2
|
||||
devel:libSDL = 0.11.4 compat >= 0.11
|
||||
devel:libSDLmain = 0.11.4 compat >= 0.11
|
||||
devel:libSDL_1.2 = 0.11.4 compat >= 0.11
|
||||
devel:libSDL$secondaryArchSuffix = 0.11.4 compat >= 0
|
||||
devel:libSDLmain$secondaryArchSuffix = 0.11.4 compat >= 0
|
||||
devel:libSDL_1.2$secondaryArchSuffix = 1.2_0.11.4 compat >= 1.2_0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libsdl == $portVersion base
|
||||
libsdl${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user