# $Id: PKGBUILD 72230 2010-03-13 20:17:43Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libdc1394 pkgver=2.1.2 pkgrel=1 pkgdesc="High level programming interface to control IEEE 1394 based cameras" arch=(i686 x86_64) license=('LGPL') url="http://sourceforge.net/projects/libdc1394/" depends=('libraw1394>=2.0.5' 'libusb1') options=(!libtool !emptydirs) source=(http://downloads.sourceforge.net/sourceforge/libdc1394/${pkgname}-${pkgver}.tar.gz) md5sums=('b85f1ade88d8d96688d5965ed8603d53') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 }