# Template build file for 'xf86-video-fbdev'.
pkgname=xf86-video-fbdev
version=0.4.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel>=1.13<1.14"
short_desc="Xorg framebuffer video driver"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=ff7b037ad110040a4e2db5c84e9741125dbbaf3a08107db47760f3e11f9c4831

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

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