diff options
| author | Adam Vandenberg | 2012-08-08 22:34:30 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-08 22:34:30 -0700 |
| commit | 24fe2836ba03b490b4c78467775edcaf315969dc (patch) | |
| tree | 9940ef7b842fb523851765278b3e6ca441106d21 /Library/Formula | |
| parent | b76e440a038c45271207c51cc2252196e0472c54 (diff) | |
| download | homebrew-24fe2836ba03b490b4c78467775edcaf315969dc.tar.bz2 | |
exodriver: use options dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/exodriver.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/exodriver.rb b/Library/Formula/exodriver.rb index 960564142..02f53e736 100644 --- a/Library/Formula/exodriver.rb +++ b/Library/Formula/exodriver.rb @@ -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", |
