blob: aaba1b8d3eea1f67a243c236fcb444e8152020c1 (
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
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 137888 2011-09-12 08:33:12Z andrea $
# 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')
license=('LGPL')
url="http://sourceforge.net/projects/libdc1394/"
depends=('libraw1394>=2.0.7' 'libusb')
options=('!libtool' '!emptydirs')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'rename-usb_init.patch'
'videodev-compile-fix.patch')
md5sums=('d8b2cbfae1b329fdeaa638da80427334'
'bc7a4146b4d2d688305d0d42c4111941'
'9dd11c96241b14073c3a7dd7e270fb7a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# FS#25652
patch -p2 -i "${srcdir}"/rename-usb_init.patch
# Fix build when linux/video.h exists
patch -p2 -i "${srcdir}"/videodev-compile-fix.patch
autoreconf -i
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|