makedepends=(libraw1394)

packager="Great-OS Team"
maintainer="sipo"

description="A library to control A/V devices using the 1394ta AV/C commands."
url="https://sourceforge.net/projects/libavc1394/"

name=libavc1394
version=0.5.4
release=2

source=(http://downloads.sourceforge.net/sourceforge/libavc1394/${name}-${version}.tar.gz)

build(){

  cd "${name}-${version}"

  ./configure --prefix=/usr \
              --mandir=/usr/share/man \
              --disable-static

  make
}

package() {

  cd "${name}-${version}"
  make DESTDIR="${PKG}" install

# Obsolet libs
  rm $PKG/usr/lib/lib{avc,rom}1394.la
}
