homebrew-core/Formula/dfu-util.rb
Severin Smith aa69b7940a dfu-util 0.4
Dfu-util is the host side implementation of the DFU 1.0 specification of
the USB forum. DFU is intended to download and upload firmware to
devices connected over USB. It ranges from small devices like micro-
controller boards up to mobile phones. Also used with the Maple
development board and other open source hardware platforms.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-02 15:08:40 -07:00

16 lines
409 B
Ruby

require 'formula'
class DfuUtil < Formula
url 'http://dfu-util.gnumonks.org/releases/dfu-util-0.4.tar.gz'
homepage 'http://dfu-util.gnumonks.org/'
md5 '2cf466fabb881e8598fa02f286d3242c'
depends_on 'pkg-config' => :build
depends_on 'libusb'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end