# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'xdriinfo'
setvar pkgver = '1.0.5'
setvar pkgrel = '0'
setvar pkgdesc = ""query configuration information of DRI drivers""
setvar url = ""http://xorg.freedesktop.org/""
setvar arch = ""all""
setvar license = ""custom""
setvar subpackages = ""$pkgname-doc""
setvar makedepends = ""libx11-dev glproto mesa-dev""
setvar depends = ''
setvar source = ""http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2""

setvar builddir = ""$srcdir/$pkgname-$pkgver""

proc build {
	cd $builddir
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install || return 1
}

setvar sha512sums = ""6b7a3641f488d305f950c494464fd4b674ab3aaed5c7159d6d8ddad4587c18d680e5854bd80666444f1dee52eb4f46b45709a6d9c333593fe045c73e738524de  xdriinfo-1.0.5.tar.bz2""