From 93c681497f2c194995304544bbae726b8c8c7f73 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 15 Jul 2018 23:16:29 -0500 Subject: user/libraw1394: pull in, fix --- user/libraw1394/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/libraw1394/APKBUILD (limited to 'user/libraw1394/APKBUILD') diff --git a/user/libraw1394/APKBUILD b/user/libraw1394/APKBUILD new file mode 100644 index 000000000..0c8bb3501 --- /dev/null +++ b/user/libraw1394/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: +pkgname=libraw1394 +pkgver=2.1.2 +pkgrel=2 +pkgdesc="Library to provide access to FireWire devices" +url="https://sourceforge.net/projects/libraw1394" +arch="all" +license="LGPL-2.1+" +depends="" +makedepends="linux-headers" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="https://kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +tools() { + pkgdesc="FireWire management tools" + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="1ef38961b747c4ebb18d823a4c38d5bf019f8bd0ac55547838d153b1899b91ae0ff56f5b6732e309d6975b55725d1ce989917ffcf605cf64f7d33624f54f0567 libraw1394-2.1.2.tar.xz" -- cgit v1.2.3-70-g09d2