diff options
| author | Caio Henrique de Queiroz Katayama | 2011-01-08 00:17:26 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-08 10:52:27 +0000 |
| commit | 7ec53c42c8875fedd9d09cde962608035d35ea9b (patch) | |
| tree | 2c18322ba221ac4510b6867b93508fde44100d4d /Library/Formula/avrdude.rb | |
| parent | 9deb0a909075b9525439a2f49622abae8e03c45a (diff) | |
| download | homebrew-7ec53c42c8875fedd9d09cde962608035d35ea9b.tar.bz2 | |
Added optional USB support to avrdude.
Closes #3838.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/avrdude.rb')
| -rw-r--r-- | Library/Formula/avrdude.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/avrdude.rb b/Library/Formula/avrdude.rb index da31652ac..1916229f0 100644 --- a/Library/Formula/avrdude.rb +++ b/Library/Formula/avrdude.rb @@ -5,6 +5,12 @@ class Avrdude <Formula homepage 'http://savannah.nongnu.org/projects/avrdude/' md5 '69b082683047e054348088fd63bad2ff' + depends_on 'libusb-compat' if ARGV.include? '--with-usb' + + def options + [['--with-usb', 'Compile AVRDUDE with USB support.']] + end + def install ENV.j1 system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" |
