diff options
| author | Ian | 2011-01-04 09:38:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-04 12:17:08 +0000 |
| commit | 149cf24b9cb617a7853ecd5f732056f6512943c5 (patch) | |
| tree | dffe049100b99022a5bb9b4b4e08c319defed009 /Library/Formula/exodriver.rb | |
| parent | e1a07a8ed76cee7579377d5ab90b4d2514bf50cf (diff) | |
| download | homebrew-149cf24b9cb617a7853ecd5f732056f6512943c5.tar.bz2 | |
added --universal option to exodriver formula
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/exodriver.rb')
| -rw-r--r-- | Library/Formula/exodriver.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/exodriver.rb b/Library/Formula/exodriver.rb index 30d2683c3..73358c879 100644 --- a/Library/Formula/exodriver.rb +++ b/Library/Formula/exodriver.rb @@ -10,6 +10,10 @@ class Exodriver <Formula depends_on 'libusb' + def options + [["--universal", "Build a universal binary."]] + end + def install cd 'liblabjackusb' mv 'Makefile.MacOSX', 'Makefile' @@ -17,6 +21,7 @@ class Exodriver <Formula inreplace 'Makefile' do |s| s.change_make_var! 'DESTINATION', lib s.change_make_var! 'HEADER_DESTINATION', include + ENV.universal_binary if ARGV.include? "--universal" end system "make" |
