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>
This commit is contained in:
parent
d205c72966
commit
aa69b7940a
1 changed files with 16 additions and 0 deletions
16
Formula/dfu-util.rb
Normal file
16
Formula/dfu-util.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
Loading…
Reference in a new issue