homebrew-core/Formula/avrdude.rb
Farthen b6ee7f88c7 avrdude: serialize build
Workaround for http://github.com/mxcl/homebrew/issues/6915

Fixes Homebrew/homebrew#6915

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-10 10:21:41 -07:00

20 lines
567 B
Ruby

require 'formula'
class Avrdude < Formula
url 'http://mirror.lihnidos.org/GNU/savannah/avrdude/avrdude-5.10.tar.gz'
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 # See http://github.com/mxcl/homebrew/issues/6915
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make install"
end
end