summaryrefslogtreecommitdiff
path: root/extra/libdc1394/PKGBUILD
blob: ffda48ac9d024aa6cd685968fbb1e1d5297dab1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 119241 2011-04-11 13:01:37Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libdc1394
pkgver=2.1.3
pkgrel=2
pkgdesc="High level programming interface to control IEEE 1394 based cameras"
arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://sourceforge.net/projects/libdc1394/"
depends=('libraw1394>=2.0.5' 'libusb')
options=(!libtool !emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/libdc1394/${pkgname}-${pkgver}.tar.gz
        fix-videodev.h.patch)
md5sums=('d8b2cbfae1b329fdeaa638da80427334'
         '8bbf233bf11295649cfd61a9ac3eba1b')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np2 -i $srcdir/fix-videodev.h.patch
  autoreconf -s -i
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}