homebrew-core/Formula/avrdude.rb

19 lines
523 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Avrdude < Formula
homepage 'http://savannah.nongnu.org/projects/avrdude/'
2012-08-09 05:06:45 +00:00
url 'http://download.savannah.gnu.org/releases/avrdude/avrdude-5.11.1.tar.gz'
sha1 '330b3a38d3de6c54d4866819ffb6924ed3728173'
2012-08-09 05:06:45 +00:00
option 'with-usb', 'Compile AVRDUDE with USB support.'
2012-08-09 15:51:54 +00:00
depends_on 'libusb-compat' if build.include? 'with-usb'
def install
2012-08-09 05:06:45 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2011-01-08 10:54:28 +00:00
system "make"
system "make install"
end
end