mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
glew: bump version
This commit is contained in:
85
media-libs/glew/glew-1.12.0.recipe
Normal file
85
media-libs/glew/glew-1.12.0.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
SUMMARY="The OpenGL Extension Wrangler Library"
|
||||
DESCRIPTION="
|
||||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source \
|
||||
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.
|
||||
2002-2007 Milan Ikits
|
||||
2002-2007 Marcelo E. Magallon
|
||||
2002 Lev Povalahev
|
||||
"
|
||||
HOMEPAGE="http://glew.sourceforge.net"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/glew/glew/${portVersion}/glew-${portVersion}.tgz"
|
||||
CHECKSUM_SHA256="af58103f4824b443e7fa4ed3af593b8edac6f3a7be3b30911edbc7344f48e4bf"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="glew-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
glew$secondaryArchSuffix = $portVersion
|
||||
lib:libglew$secondaryArchSuffix = $portVersion compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libgl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
libtool
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cp /system/data/libtool/config/config.guess config/
|
||||
make $jobArgs GLEW_DEST=$prefix BINDIR=$binDir LIBDIR=$libDir INCDIR=$includeDir/GL
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install GLEW_DEST=$prefix BINDIR=$binDir LIBDIR=$libDir INCDIR=$includeDir/GL
|
||||
make install.bin GLEW_DEST=$prefix BINDIR=$binDir LIBDIR=$libDir INCDIR=$includeDir/GL
|
||||
|
||||
prepareInstalledDevelLib libGLEW
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
packageEntries util $binDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------
|
||||
PROVIDES_devel="
|
||||
glew${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libGLEW$secondaryArchSuffix = $portVersion compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
glew$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
# ----- util package --------------------------------------
|
||||
PROVIDES_util="
|
||||
glew${secondaryArchSuffix}_util = $portVersion
|
||||
cmd:glewinfo$secondaryArchSuffix
|
||||
cmd:visualinfo$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES_util="
|
||||
glew$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libGLEW$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
"
|
||||
Reference in New Issue
Block a user