libusb-compat: fix strict audit failures.

This commit is contained in:
Mike McQuaid 2014-12-27 16:09:48 +00:00
parent 0b5fd684b3
commit 96105b49a7

View file

@ -1,9 +1,7 @@
require 'formula'
class LibusbCompat < Formula
homepage 'http://www.libusb.org/'
url 'https://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2'
sha256 '404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a'
homepage "http://www.libusb.org/"
url "https://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2"
sha256 "404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a"
bottle do
cellar :any
@ -15,12 +13,16 @@ class LibusbCompat < Formula
option :universal
depends_on 'pkg-config' => :build
depends_on 'libusb'
depends_on "pkg-config" => :build
depends_on "libusb"
def install
ENV.universal_binary if build.universal?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
system "make", "install"
end
test do
system "#{bin}/libusb-config", "--libs"
end
end