aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeverin Smith2011-08-20 14:43:25 -0400
committerAdam Vandenberg2011-09-02 15:08:40 -0700
commitf5aa05edf57a07560c87d17353383ca50b6f96f9 (patch)
treee9bad2f5ccec80fe5a33906fcd5de16dfa07e0d3
parenta840c4a17d2f35095eba954adf4f231559056c46 (diff)
downloadhomebrew-f5aa05edf57a07560c87d17353383ca50b6f96f9.tar.bz2
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>
-rw-r--r--Library/Formula/dfu-util.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/dfu-util.rb b/Library/Formula/dfu-util.rb
new file mode 100644
index 000000000..e6d5815e5
--- /dev/null
+++ b/Library/Formula/dfu-util.rb
@@ -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