dfu-util: add head

Closes Homebrew/homebrew#34100.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Liam Staskawicz 2014-11-11 08:57:25 -06:00 committed by Jack Nagel
parent e99929fe7d
commit 1d0076c025

View file

@ -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"