Files
haikuports/sys-libs/glu/glu-9.0.0.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

65 lines
1.4 KiB
Plaintext

SUMMARY="OpenGL Utility Library"
DESCRIPTION="
OpenGL Utility Library.
"
HOMEPAGE="http://freedesktop.org"
COPYRIGHT="Copyright (C) 1999-2012 Brian Paul and others. All Rights Reserved."
LICENSE="MIT"
SRC_URI="ftp://freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.gz"
CHECKSUM_SHA256="4387476a1933f36fec1531178ea204057bbeb04cc2d8396c9ea32720a1f7e264"
REVISION="3"
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}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:awk
cmd:make
cmd:sed
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libGLU
fixPkgconfig
# Remove the additional LDFLAGS from libGLU.la
sed -i "s,^dependency_libs=.*,dependency_libs=' -lGL'," \
$developLibDir/libGLU.la
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
glu${secondaryArchSuffix}_devel = $portVersion
devel:libGLU$secondaryArchSuffix = 1.3.1 compat >= 1
"
REQUIRES_devel="
glu$secondaryArchSuffix == $portVersion base
"