# Template build file for 'xf86-video-vesa'.
pkgname=xf86-video-vesa
_distver="2.3.2"
version="2:${_distver}"
wrksrc="${pkgname}-${_distver}"
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.13<1.14"
short_desc="Xorg VESA video driver"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${XORG_SITE}/driver/${pkgname}-${_distver}.tar.bz2"
checksum=144a17ffae3c86603ddc4ae33521a52813498ee1f8213faa662dc4a8d6490ee3
long_desc="
 This is the X11 video driver for Generic VESA video cards."

if [ "$CROSS_BUILD" ]; then
	CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
fi

xf86-video-vesa_package() {
	depends="xserver-abi-video>=13<14"
	pkg_install() {
		vmove usr
	}
}
