summaryrefslogtreecommitdiff
path: root/user/libiec61883
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 15:24:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 15:24:09 +0000
commitda8d23d2df44fb4b8a9510ce36d0d66758609426 (patch)
tree43d9314cdee1778da828ae77eb00bddb51ac7ab6 /user/libiec61883
parenta59e52f88e3449cafc3f963991e35ce6a4ef25e5 (diff)
downloadpackages-da8d23d2df44fb4b8a9510ce36d0d66758609426.tar.gz
packages-da8d23d2df44fb4b8a9510ce36d0d66758609426.tar.bz2
packages-da8d23d2df44fb4b8a9510ce36d0d66758609426.tar.xz
packages-da8d23d2df44fb4b8a9510ce36d0d66758609426.zip
user/libiec61883: new package
Diffstat (limited to 'user/libiec61883')
-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"