blob: effd28ca4dae476e324eeade4e8de5e68eec9dec (
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
38
39
40
41
42
43
44
45
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdc1394
pkgver=2.2.6
pkgrel=0
pkgdesc="High level programming interface to control IEEE 1394 based cameras"
url="https://damien.douxchamps.net/ieee1394/libdc1394/"
options="!check"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="libusb-dev libraw1394-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/$pkgver/libdc1394-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
# there is on ly one tool and its only 4k...
#tools() {
# pkgdesc="Tools to use with $pkgname"
# replaces="$pkgname"
# mkdir -p "$subpkgdir"/usr/
# mv "$pkgdir"/usr/bin "$subpkgdir"/usr
#}
sha512sums="2d60ed1054da67d8518e870193b60c1d79778858f48cc6487e252de00cc57a08548515d41914a37d0227d29e158d68892c290f83930ffd95f4a483dce5aa3d25 libdc1394-2.2.6.tar.gz"
|