summaryrefslogtreecommitdiff
path: root/repo/libavc1394/libavc1394.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libavc1394/libavc1394.xibuild')
-rw-r--r--repo/libavc1394/libavc1394.xibuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/repo/libavc1394/libavc1394.xibuild b/repo/libavc1394/libavc1394.xibuild
new file mode 100644
index 0000000..a86b076
--- /dev/null
+++ b/repo/libavc1394/libavc1394.xibuild
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+NAME="libavc1394"
+DESC="Audio/Video Control library for IEEE-1394 devices"
+
+MAKEDEPS="libraw1394 libtool automake autoconf argp-standalone"
+
+PKG_VER=0.5.4
+SOURCE="https://downloads.sourceforge.net/libavc1394/libavc1394-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+argp.patch
+automake.patch
+"
+
+prepare() {
+ apply_patches
+ autoreconf -fi
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+