summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libiec61883/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libiec61883/APKBUILD b/user/libiec61883/APKBUILD
new file mode 100644
index 000000000..b84e7b3e4
--- /dev/null
+++ b/user/libiec61883/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libiec61883
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="Library for transmission of media streams over FireWire (1394)"
+url="https://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="libraw1394-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.kernel.org/pub/linux/libs/ieee1394/libiec61883-$pkgver.tar.gz"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="303391dc5d75298039f51bcb9c53061f5ada92210c81dfe860994c05e8e03d6d9d1a662fad780d5766c17a8aade665d996ab3454fc93bc06981a3832e6de4066 libiec61883-1.2.0.tar.gz"