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
|
|
|
homepage 'http://dfu-programmer.sourceforge.net/'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.6.1/dfu-programmer-0.6.1.tar.gz'
|
2013-04-24 04:04:40 +00:00
|
|
|
sha1 'dbbf81a7fd47df7b214358e46e422b6215ae53f0'
|
2011-02-12 23:20:21 +00:00
|
|
|
|
|
|
|
depends_on 'libusb-compat'
|
|
|
|
|
|
|
|
def install
|
2013-01-02 01:47:11 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-libusb_1_0"
|
2011-02-12 23:20:21 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|