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

pkgname=libdc1394
pkgver=2.1.0
pkgrel=2
pkgdesc="High level programming interface to control IEEE 1394 based cameras"
arch=(i686 x86_64)
license=('LGPL')
depends=('libraw1394>=1.3.0')
options=(!libtool !emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/libdc1394/${pkgname}-${pkgver}.tar.gz)
url="http://sourceforge.net/projects/libdc1394/"
md5sums=('51909785c8c3da6881dd983c98c0c6d6')

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