From 73a5f82aaa812a699aa9b955c0dbe29af3164359 Mon Sep 17 00:00:00 2001
From: Ken Tossell <ken@tossell.net>
Date: Thu, 27 Jun 2013 14:57:14 -0400
Subject: [PATCH] added libuvc rdmanifest for ubuntu

---
 libuvc-ubuntu.rdmanifest | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 libuvc-ubuntu.rdmanifest

diff --git a/libuvc-ubuntu.rdmanifest b/libuvc-ubuntu.rdmanifest
new file mode 100644
index 0000000..7be1b7a
--- /dev/null
+++ b/libuvc-ubuntu.rdmanifest
@@ -0,0 +1,21 @@
+uri: 'https://github.com/ktossell/libuvc/archive/master.tar.gz'
+install-script: |
+  #!/bin/bash
+  set -o errexit
+  mkdir -p build
+  cd build
+  pwd
+  cmake ..
+  make
+  echo "About to run checkinstall make install"
+  sudo checkinstall -y --nodoc --pkgname=libuvc --pkgversion 0.0.0 make install
+check-presence-script: |
+  #!/bin/bash
+  dpkg-query -W -f='${Package} ${Status}\n' libuvc 2>&1 | awk '{\
+  if ($4 =="installed")
+    exit 0
+  else
+    print "libuvc not installed"
+  exit 1}'
+exec-path: libuvc-master
+depends: [checkinstall, libusb-1.0-dev]
-- 
GitLab