libusb: remove options

This commit is contained in:
FX Coudert 2018-12-24 15:38:33 +01:00
parent 794c8c73f7
commit 1c61e424e0

View file

@ -21,15 +21,8 @@ class Libusb < Formula
depends_on "libtool" => :build
end
option "without-runtime-logging", "Build without runtime logging functionality"
option "with-default-log-level-debug", "Build with default runtime log level of debug (instead of none)"
deprecated_option "no-runtime-logging" => "without-runtime-logging"
def install
args = %W[--disable-dependency-tracking --prefix=#{prefix}]
args << "--disable-log" if build.without? "runtime-logging"
args << "--enable-debug-log" if build.with? "default-log-level-debug"
system "./autogen.sh" if build.head?
system "./configure", *args