aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheo Cushion2014-12-11 08:31:03 +0000
committerJack Nagel2014-12-13 18:16:12 -0500
commit71904da614e6c0ba7fc98a85fb0848fc4e6964d8 (patch)
tree8ca338347d942f5c9eb196d6d1ad4f1301d65518
parent5ed96dd7e09e1729857d17abf465adc5f0df82ba (diff)
downloadhomebrew-71904da614e6c0ba7fc98a85fb0848fc4e6964d8.tar.bz2
cpputest: add HEAD
Closes #34957. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/cpputest.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/cpputest.rb b/Library/Formula/cpputest.rb
index 76d5792d2..786b95ad1 100644
--- a/Library/Formula/cpputest.rb
+++ b/Library/Formula/cpputest.rb
@@ -5,7 +5,15 @@ class Cpputest < Formula
url "https://github.com/cpputest/cpputest/archive/v3.6.tar.gz"
sha1 "308a4200adfb86182251d435e09f42360d9ed8ea"
+ head do
+ url "https://github.com/cpputest/cpputest.git"
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
def install
+ system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}"
system "make install"
end