Added optional USB support to avrdude.
Closes Homebrew/homebrew#3838. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
1a678806be
commit
03c24fe13b
1 changed files with 6 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue