# Template build file for 'xf86-video-openchrome'.
pkgname=xf86-video-openchrome
version=0.6.0
revision=1
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel libXvMC-devel"
depends="virtual?xserver-abi-video-23_1"
short_desc="Xorg driver for VIA IGPs"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Duncaen <duncaen@voidlinux.eu>"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75

CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
LDFLAGS="-Wl,-z,lazy"

post_install() {
	vlicense COPYING
}
