# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-imstt
pkgver=1.1.0
pkgrel=4
pkgdesc="X.org Integrated Micro Solutions Twin Turbo video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.1.1')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
md5sums=('94853ca217238ed1f568a10cbeebe057')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
              --build=${CHOST} --host=${CHOST}
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}