homebrew-core/Formula/dfu-programmer.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

16 lines
503 B
Ruby

require 'formula'
class DfuProgrammer < Formula
homepage 'http://dfu-programmer.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.6.2/dfu-programmer-0.6.2.tar.gz'
sha1 '3a7d7b3770b85030a5b84ac73f1c06efca99a591'
depends_on 'libusb-compat'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-libusb_1_0"
system "make install"
end
end