# $Id: PKGBUILD 24044 2009-01-12 11:44:28Z giovanni $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-video-ati
pkgver=6.10.0
pkgrel=1
pkgdesc="X.org ati video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('libdrm>=2.3.1' 'libpciaccess' 'ati-dri>=7.2')
makedepends=('pkgconfig' 'xorg-server>=1.5.3' 'fontsproto'
	     'glproto>=1.4.9' 'xf86driproto' 'diffutils' 'xorg-util-macros')
conflicts=('xorg-server<1.5.3')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6445815b12ffa4ccd1aafd43640f466d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
              --enable-dri || return 1
  make || return 1
  make "DESTDIR=${pkgdir}" install || return 1
}