aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Staskawicz2014-11-11 08:57:25 -0600
committerJack Nagel2014-11-11 20:19:44 -0600
commitd43ad1b2883a2c570b0ea9dc2df4b55c6c35389f (patch)
tree62a4b9cb651191d03c788bfd45fa7ca17641724a
parent47bb77f688e57c5b4aa058e51bf3fbd506b87937 (diff)
downloadhomebrew-d43ad1b2883a2c570b0ea9dc2df4b55c6c35389f.tar.bz2
dfu-util: add head
Closes #34100. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/dfu-util.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/dfu-util.rb b/Library/Formula/dfu-util.rb
index 962b85b11..1fc3efe1d 100644
--- a/Library/Formula/dfu-util.rb
+++ b/Library/Formula/dfu-util.rb
@@ -13,10 +13,18 @@ class DfuUtil < Formula
sha1 "cd533314e4700a3d746330b12aa08407f693d7a4" => :mountain_lion
end
+ head do
+ url "git://gitorious.org/dfu-util/dfu-util.git"
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
depends_on "pkg-config" => :build
depends_on "libusb"
def install
+ system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"