homebrew-core/Formula/libuvc.rb

17 lines
372 B
Ruby
Raw Normal View History

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