2012-10-09 08:54:07 +00:00
|
|
|
# Template file for 'glu'
|
|
|
|
pkgname=glu
|
|
|
|
version=9.0.0
|
2013-04-12 13:11:12 +00:00
|
|
|
revision=2
|
2012-10-09 08:54:07 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
|
|
|
makedepends="pkg-config MesaLib-devel>=9.0"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
short_desc="Mesa OpenGL utility library (GLU)"
|
|
|
|
homepage="http://cgit.freedesktop.org/mesa/glu/"
|
|
|
|
distfiles="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-${version}.tar.bz2"
|
|
|
|
checksum=1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12
|
|
|
|
long_desc="
|
|
|
|
GLU offers simple interfaces for building mipmaps; checking for the presence
|
|
|
|
of extensions in the OpenGL (or other libraries which follow the same
|
|
|
|
conventions for advertising extensions); drawing piecewise-linear curves,
|
|
|
|
NURBS, quadrics and other primitives (including, but not limited to,
|
|
|
|
teapots); tesselating surfaces; setting up projection matrices and
|
|
|
|
unprojecting screen coordinates to world coordinates."
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
glu-devel_package() {
|
|
|
|
depends="MesaLib-devel>=9.0 glu-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
glu_package() {
|
|
|
|
replaces="libGLU<9.0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|