void-packages/srcpkgs/mesa-demos/template
2015-05-27 11:26:44 +02:00

21 lines
687 B
Bash

# Template build file for 'MesaLib'.
pkgname=mesa-demos
version=8.2.0
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libXext-devel MesaLib-devel glu-devel glew-devel freetype-devel libfreeglut-devel"
short_desc="Mesa 3D demos and tools"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mesa3d.org"
license="MIT"
distfiles="ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$pkgname-$version.tar.bz2"
checksum=e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92
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
}
}