# Template build file for 'xf86-video-fbturbo-git'.
pkgname=xf86-video-fbturbo-git
version=20131218
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros xorg-server-devel"
makedepends="libXrandr-devel xorg-server-devel>=1.14"
depends="xserver-abi-video-14_1"
short_desc="Xorg DDX driver for Allwinner A10/A13 and other ARM devices"
homepage="http://github.com/ssvb/xf86-video-fbturbo"
license="MIT, GPL"
maintainer="Juan RP <xtraeme@gmail.com>"

only_for_archs="armv6l"

do_fetch() {
	git clone git://github.com/ssvb/xf86-video-fbturbo ${pkgname}-${version}
}

pre_configure() {
	cp /usr/include/xorg/dri2.h src
	autoreconf -fi
}
