libuvc: 0.0.2 - a cross-platform library for USB video devices

Closes Homebrew/homebrew#25133.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Hans-Martin Will 2013-12-11 00:41:05 -08:00 committed by Adam Vandenberg
parent c853e9cb0d
commit 989b8281b7
1 changed files with 16 additions and 0 deletions

16
Formula/libuvc.rb Normal file
View File

@ -0,0 +1,16 @@
require 'formula'
class Libuvc < Formula
homepage 'https://github.com/ktossell/libuvc'
url 'https://github.com/ktossell/libuvc/archive/v0.0.2.tar.gz'
sha1 'e0d57007715eaf36c5ebeb8d348488984c681041'
depends_on 'libusb'
depends_on 'cmake' => :build
def install
system "cmake", ".", *std_cmake_args
system "make"
system "make", "install"
end
end