homebrew-core/Formula/avrdude.rb
2013-09-04 16:15:21 -05:00

26 lines
661 B
Ruby

require 'formula'
class Avrdude < Formula
homepage 'http://savannah.nongnu.org/projects/avrdude/'
url 'http://download.savannah.gnu.org/releases/avrdude/avrdude-5.11.1.tar.gz'
sha1 '330b3a38d3de6c54d4866819ffb6924ed3728173'
head 'svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude/'
depends_on 'libusb-compat'
depends_on 'libftdi0'
if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end