diff options
| author | Hans-Martin Will | 2013-12-11 00:41:05 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-16 17:07:28 -0800 |
| commit | 96b8a2c40533ec542ac218ae078a4b9fd5cf7d7b (patch) | |
| tree | d82c6b094046d874abdd6c91f8c377a2adcdf43c /Library/Formula/libuvc.rb | |
| parent | 766ca88ab9d7a55be1ea253453e7b3bf3418e370 (diff) | |
| download | homebrew-96b8a2c40533ec542ac218ae078a4b9fd5cf7d7b.tar.bz2 | |
libuvc: 0.0.2 - a cross-platform library for USB video devices
Closes #25133.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/libuvc.rb')
| -rw-r--r-- | Library/Formula/libuvc.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/libuvc.rb b/Library/Formula/libuvc.rb new file mode 100644 index 000000000..65665e17d --- /dev/null +++ b/Library/Formula/libuvc.rb @@ -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 |
