void-packages/srcpkgs/mesa-demos/template
2017-12-08 18:34:19 +01:00

20 lines
656 B
Bash

# Template build file for 'MesaLib'.
pkgname=mesa-demos
version=8.3.0
revision=2
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=c173154bbd0d5fb53d732471984def42fb1b14ac85fcb834138fb9518b3e0bef
glxinfo_package() {
short_desc="Tool to diagnose problems with 3D acceleration setup"
pkg_install() {
vmove usr/bin/glxinfo
}
}