diff options
| author | Brett Koonce | 2014-07-19 10:14:44 -0700 |
|---|---|---|
| committer | Brett Koonce | 2014-07-20 10:27:19 -0700 |
| commit | bc35c13daaecea981a1e6d8d3ed6fd553089d601 (patch) | |
| tree | 3e69ff2b15b29da20c65763394f169d6fd29c115 /Library/Formula | |
| parent | 879c7ed02e7daf2748fc8dd0bd874520624ec591 (diff) | |
| download | homebrew-bc35c13daaecea981a1e6d8d3ed6fd553089d601.tar.bz2 | |
libusb 1.0.19
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libusb.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Formula/libusb.rb b/Library/Formula/libusb.rb index 338820d1d..63bd10bc2 100644 --- a/Library/Formula/libusb.rb +++ b/Library/Formula/libusb.rb @@ -1,9 +1,9 @@ -require 'formula' +require "formula" class Libusb < Formula - homepage 'http://libusb.info' - url 'https://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.18/libusb-1.0.18.tar.bz2' - sha256 'c73f5cec45a5de94418da4e151b7232958571926984acfb9bce02b9424e83720' + homepage "http://libusb.info" + url "https://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.19/libusb-1.0.19.tar.bz2" + sha256 "6c502c816002f90d4f76050a6429c3a7e0d84204222cbff2dce95dd773ba6840" bottle do cellar :any @@ -13,7 +13,7 @@ class Libusb < Formula end head do - url 'https://github.com/libusb/libusb.git' + url "https://github.com/libusb/libusb.git" depends_on "autoconf" => :build depends_on "automake" => :build @@ -21,14 +21,14 @@ class Libusb < Formula end option :universal - option 'no-runtime-logging', 'Build without runtime logging functionality' - option 'with-default-log-level-debug', 'Build with default runtime log level of debug (instead of none)' + option "no-runtime-logging", "Build without runtime logging functionality" + option "with-default-log-level-debug", "Build with default runtime log level of debug (instead of none)" def install ENV.universal_binary if build.universal? args = %W[--disable-dependency-tracking --prefix=#{prefix}] - args << "--disable-log" if build.include? 'no-runtime-logging' + args << "--disable-log" if build.include? "no-runtime-logging" args << "--enable-debug-log" if build.with? "default-log-level-debug" system "./autogen.sh" if build.head? |
