# Template build file for 'MesaLib'.
pkgname=mesa-demos
version=8.1.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libXext-devel MesaLib-devel glu-devel glew-devel freetype-devel"
short_desc="Mesa 3D demos and tools"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mesa3d.org"
license="MIT"
distfiles="ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$pkgname-$version.tar.bz2"
checksum=9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828

glxinfo_package() {
	short_desc="Tool to diagnose problems with 3D acceleration setup"
	replaces="mesa-demos<8.1.0_2"
	pkg_install() {
		vmove usr/bin/glxinfo
	}
}
