homebrew-core/Formula/libuvc.rb
Adam Vandenberg bdc946f9a7 libuvc 0.0.3
2014-02-16 17:08:02 -08:00

16 lines
372 B
Ruby

require 'formula'
class Libuvc < Formula
homepage 'https://github.com/ktossell/libuvc'
url 'https://github.com/ktossell/libuvc/archive/v0.0.3.tar.gz'
sha1 'bd6868772e6e4b9c52431d7731c09df013b6cf43'
depends_on 'cmake' => :build
depends_on 'libusb'
def install
system "cmake", ".", *std_cmake_args
system "make"
system "make", "install"
end
end