homebrew-core/Formula/libuvc.rb

26 lines
670 B
Ruby
Raw Normal View History

2014-07-21 01:55:17 +00:00
require "formula"
class Libuvc < Formula
2014-07-21 01:55:17 +00:00
homepage "https://github.com/ktossell/libuvc"
url "https://github.com/ktossell/libuvc/archive/v0.0.5.tar.gz"
sha1 "ab2e06d014af6aa72238113666f57405f45d1d18"
head "https://github.com/ktossell/libuvc.git"
2014-07-03 21:27:43 +00:00
bottle do
sha1 "592b2190a35ab15f07c25d39f3e34a0baae971e2" => :mavericks
sha1 "c13fafbeab7ebc19565be18423bb34248c9557a6" => :mountain_lion
sha1 "82645fb85228750be0aba5d2fd2b10bbc9ed888c" => :lion
2014-07-03 21:27:43 +00:00
end
2014-07-21 01:55:17 +00:00
depends_on "cmake" => :build
depends_on "libusb"
depends_on "jpeg" => :optional
def install
system "cmake", ".", *std_cmake_args
system "make"
system "make", "install"
end
end