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-11-29 18:26:00 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.6.2/dfu-programmer-0.6.2.tar.gz'
|
|
|
|
sha1 '3a7d7b3770b85030a5b84ac73f1c06efca99a591'
|
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
|