aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dfu-util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/dfu-util.rb')
-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