From 265ea07b37c453da660d897deebb8d21bf0fb074 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 26 Feb 2020 22:57:47 -0300 Subject: community/libdc1394: move from main --- community/libdc1394/APKBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 community/libdc1394/APKBUILD (limited to 'community') diff --git a/community/libdc1394/APKBUILD b/community/libdc1394/APKBUILD new file mode 100644 index 0000000000..effd28ca4d --- /dev/null +++ b/community/libdc1394/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Leo +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +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" -- cgit v1.2.3