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