mesa-demos: split glxinfo to another small pkg.

This commit is contained in:
Juan RP 2013-10-03 16:24:04 +02:00
parent be9c2d0b2c
commit c90ec6e1be
2 changed files with 12 additions and 3 deletions

1
srcpkgs/glxinfo Symbolic link
View File

@ -0,0 +1 @@
mesa-demos

View File

@ -1,7 +1,7 @@
# Template build file for 'MesaLib'.
pkgname=mesa-demos
version=8.1.0
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libXext-devel MesaLib-devel glu-devel glew-devel freetype-devel"
@ -18,8 +18,16 @@ long_desc="
Inc. However, the author makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
mesa-demos_package() {
glxinfo_package() {
short_desc="Tool to diagnose problems with 3D acceleration setup"
replaces="mesa-demos<8.1.0_2"
pkg_install() {
vmove usr
vmove usr/bin/glxinfo
}
}
mesa-demos_package() {
pkg_install() {
vmove all
}
}