void-packages/srcpkgs/mesa-demos/template

27 lines
1 KiB
Text

# Template build file for 'MesaLib'.
pkgname=mesa-demos
version=8.1.0
revision=2
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
long_desc="
MesaLib is a 3-D graphics library with an API which is very similar to
that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
or state machine, it is being used with authorization from Silicon Graphics,
Inc. However, the author makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
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
}
}