exodriver: use options dsl
parent
8a89c83779
commit
16059c6b10
|
@ -9,12 +9,10 @@ class Exodriver < Formula
|
|||
|
||||
depends_on 'libusb'
|
||||
|
||||
def options
|
||||
[["--universal", "Build a universal binary."]]
|
||||
end
|
||||
option :universal
|
||||
|
||||
def install
|
||||
ENV.universal_binary if ARGV.build_universal?
|
||||
ENV.universal_binary if build.universal?
|
||||
|
||||
cd 'liblabjackusb'
|
||||
system "make", "-f", "Makefile",
|
||||
|
|
Loading…
Reference in New Issue