diff options
Diffstat (limited to 'user/libdc1394/APKBUILD')
-rw-r--r-- | user/libdc1394/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libdc1394/APKBUILD b/user/libdc1394/APKBUILD new file mode 100644 index 000000000..8bed91739 --- /dev/null +++ b/user/libdc1394/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=libdc1394 +pkgver=2.2.5 +pkgrel=4 +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 + 0001-Fix-bad-variable-type-uint-int.patch + " + +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 +} + +sha512sums="4a02560b7b2db7199b91c35786cb9d5af51398795fc1b7f0cb577d3563b27c0d03d407fa472d9756a2f87b658350a55d29c16fef401a74f835ba86e25214d13c libdc1394-2.2.5.tar.gz +ab19b1aecec17b1caa6b225f626b6adcf80818cb59f693df69e9f0f2b4014846be22aa93473a62da8c7ae937ea8265f90499a9561d48e6bfe931e1e00cb16c60 0001-Fix-bad-variable-type-uint-int.patch" |