summaryrefslogtreecommitdiff
path: root/user/libdc1394/APKBUILD
blob: 138f14cf75175020421c35ba8a573ef146ab53dd (plain) (blame)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=libdc1394
pkgver=2.2.6
pkgrel=0
pkgdesc="Programming interface to control FireWire / IIDC cameras"
url="https://damien.douxchamps.net/ieee1394/libdc1394/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
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"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2d60ed1054da67d8518e870193b60c1d79778858f48cc6487e252de00cc57a08548515d41914a37d0227d29e158d68892c290f83930ffd95f4a483dce5aa3d25  libdc1394-2.2.6.tar.gz"