summaryrefslogtreecommitdiff
path: root/repo/v4l-utils/v4l-utils.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/v4l-utils/v4l-utils.xibuild')
-rw-r--r--repo/v4l-utils/v4l-utils.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/v4l-utils/v4l-utils.xibuild b/repo/v4l-utils/v4l-utils.xibuild
new file mode 100644
index 0000000..bd40b23
--- /dev/null
+++ b/repo/v4l-utils/v4l-utils.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="v4l-utils"
+DESC="Userspace tools and conversion library for Video 4 Linux"
+
+MAKEDEPS="make "
+DEPS="alsa-lib libjpeg-turbo argp-standalone eudev "
+
+PKG_VER=1.22.1
+SOURCE="https://linuxtv.org/downloads/v4l-utils/v4l-utils-$PKG_VER.tar.bz2"
+ADDITIONAL="fix_parse_next_subopt.patch types.patch "
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ ./configure \
+ --prefix=/usr
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static \
+ --enable-libdvbv5
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}