2011-02-12 23:20:21 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class DfuProgrammer < Formula
|
2011-02-12 23:20:21 +00:00
|
|
|
url 'http://sourceforge.net/projects/dfu-programmer/files/dfu-programmer/0.5.4/dfu-programmer-0.5.4.tar.gz'
|
|
|
|
homepage 'http://dfu-programmer.sourceforge.net/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'f0fcc8faa0f11e53feaa36a01307328a0b0993d3'
|
2011-02-12 23:20:21 +00:00
|
|
|
|
|
|
|
depends_on 'libusb-compat'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|