homebrew-core/Formula/libusb-compat.rb

16 lines
472 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class LibusbCompat < Formula
2010-04-27 18:52:57 +00:00
homepage 'http://www.libusb.org/'
url 'http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.4/libusb-compat-0.1.4.tar.bz2'
sha256 'ed5bdd160c7b01ef767fb931a81b454f46226d1e2cf58502ced758d3e5a9fdc4'
depends_on 'pkg-config' => :build
depends_on 'libusb'
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end