# Template build file for 'xf86-video-mga'.
pkgname=xf86-video-mga
version=1.6.4
revision=3
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros"
makedepends="xorg-server-devel"
depends="virtual?xserver-abi-video-20_1"
nocross=yes
short_desc="Xorg Matrox Graphics Adapter video driver"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=48c6690b6751c76f53de64f8dbeaa9d6c62dbcfe890c768fd87167951247d44f

LDFLAGS="-Wl,-z,lazy"

pre_configure() {
	autoreconf -if
}
post_install() {
	vlicense COPYING
}
