Files
haikuports/sys-libs/glu/glu-9.0.0.recipe
2017-06-20 07:18:22 +02:00

66 lines
1.4 KiB
Bash

SUMMARY="OpenGL Utility Library"
DESCRIPTION="The OpenGL Utility Library (GLU) is a computer graphics library for OpenGL. \
It consists of a number of functions that use the base OpenGL library to provide \
higher-level drawing routines from the more primitive routines that OpenGL provides."
HOMEPAGE="http://freedesktop.org"
COPYRIGHT="1999-2012 Brian Paul and others"
LICENSE="MIT"
REVISION="6"
SOURCE_URI="ftp://freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.gz"
CHECKSUM_SHA256="4387476a1933f36fec1531178ea204057bbeb04cc2d8396c9ea32720a1f7e264"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
glu$secondaryArchSuffix = $portVersion
lib:libGLU$secondaryArchSuffix = 1.3.1 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL${secondaryArchSuffix}
"
PROVIDES_devel="
glu${secondaryArchSuffix}_devel = $portVersion
devel:libGLU$secondaryArchSuffix = 1.3.1 compat >= 1
"
REQUIRES_devel="
glu$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:awk
cmd:make
cmd:sed
"
defineDebugInfoPackage glu \
$libDir/libGLU.so.1.3.1
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libGLU.la
prepareInstalledDevelLibs libGLU
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}