diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 22:57:47 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 23:33:41 -0300 |
| commit | 265ea07b37c453da660d897deebb8d21bf0fb074 (patch) | |
| tree | b8fdeaa4c7dde142254fb45e4e518ad627f1c8de /community/libdc1394 | |
| parent | c44db78d1917948467e263c2b05dc0505ffa2dab (diff) | |
| download | aports-265ea07b37c453da660d897deebb8d21bf0fb074.tar.bz2 aports-265ea07b37c453da660d897deebb8d21bf0fb074.tar.xz | |
community/libdc1394: move from main
Diffstat (limited to 'community/libdc1394')
| -rw-r--r-- | community/libdc1394/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
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 <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" |
