# $Id: PKGBUILD 37800 2009-05-03 21:23:26Z jgc $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=libavc1394
pkgver=0.5.3
pkgrel=3
pkgdesc="A library to control A/V devices using the 1394ta AV/C commands."
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/libavc1394/"
license=('LGPL')
depends=('libraw1394>=2.0.2')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/libavc1394/${pkgname}-${pkgver}.tar.gz)
md5sums=('09e30b1fb5ae455b6d8407e457a711a3')

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