homebrew-core/Formula/cpputest.rb
Theo Cushion 6fbbe3a9e2 cpputest: add HEAD
Closes Homebrew/homebrew#34957.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-13 18:16:12 -05:00

20 lines
511 B
Ruby

require "formula"
class Cpputest < Formula
homepage "http://www.cpputest.org/"
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
end