aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-08 22:34:30 -0700
committerAdam Vandenberg2012-08-08 22:34:30 -0700
commit24fe2836ba03b490b4c78467775edcaf315969dc (patch)
tree9940ef7b842fb523851765278b3e6ca441106d21 /Library/Formula
parentb76e440a038c45271207c51cc2252196e0472c54 (diff)
downloadhomebrew-24fe2836ba03b490b4c78467775edcaf315969dc.tar.bz2
exodriver: use options dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/exodriver.rb6
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",