# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=glu
pkgver=9.0.1
pkgrel=0
pkgdesc="Mesa OpenGL Utility library"
url="https://cgit.freedesktop.org/mesa/glu/"
arch="all"
options="!check"  # No test suite.
license="SGI-B-1.1 AND SGI-B-2.0"
depends=""
depends_dev="mesa-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="31d5ae196a42df61a6b161f6107049dbcb59c1517d18dd106324297543b90cff5f0a0720328364f9befaeb7f36d8425ec37b05dfa33f1b750cbcda423888f71e  glu-9.0.1.tar.gz"