mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
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>
17 lines
409 B
Ruby
17 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
|