mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
glew: add missing secondaryArchSuffix macros
This commit is contained in:
@@ -5,37 +5,38 @@ C/C++ extension loading library. GLEW provides efficient run-time mechanisms \
|
||||
for determining which OpenGL extensions are supported on the target platform.
|
||||
"
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2007 The Kronos Group Inc.
|
||||
COPYRIGHT="
|
||||
2007 The Kronos Group Inc.
|
||||
2002-2007 Milan Ikits
|
||||
2002-2007 Marcelo E. Magallon
|
||||
2002 Lev Povalahev"
|
||||
2002 Lev Povalahev
|
||||
"
|
||||
HOMEPAGE="http://glew.sourceforge.net"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/glew/glew/${portVersion}/glew-${portVersion}.tgz"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
CHECKSUM_SIZE="567605"
|
||||
CHECKSUM_MD5="2f09e5e6cb1b9f3611bcac79bc9c2d5d"
|
||||
CHECKSUM_RMD160="cd9772b37e4f48fe2e25a55303eb89363ce91467"
|
||||
CHECKSUM_SHA512="0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PATCHES="glew-1.10.0.patchset"
|
||||
|
||||
PROVIDES="
|
||||
glew$secondaryArchSuffix = $portVersion
|
||||
lib:libGLEW = $portVersion
|
||||
lib:libGLEW$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libGL
|
||||
lib:libGL$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libGL
|
||||
devel:libGL$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:g++$secondaryArchSuffix
|
||||
@@ -43,8 +44,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="glew-${portVersion}"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs GLEW_DEST=$prefix BINDIR=$binDir LIBDIR=$libDir INCDIR=$includeDir
|
||||
@@ -65,7 +64,7 @@ INSTALL()
|
||||
# ----- devel package -------------------------------------
|
||||
PROVIDES_devel="
|
||||
glew${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libGLEW = $portVersion
|
||||
devel:libGLEW$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
@@ -75,8 +74,8 @@ REQUIRES_devel="
|
||||
# ----- util package --------------------------------------
|
||||
PROVIDES_util="
|
||||
glew${secondaryArchSuffix}_util = $portVersion
|
||||
cmd:glewinfo
|
||||
# cmd:visualinfo
|
||||
cmd:glewinfo$secondaryArchSuffix
|
||||
# cmd:visualinfo$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES_util="
|
||||
|
||||
Reference in New Issue
Block a user