unittest-cpp 1.6.1

New versions have a pre-built configure script so depedencies
so dependencies on autotools were removed. A test block was
also added to satisfy brew audit, although it doesn't do much.

Closes #950.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Patrick Johnmeyer 2016-05-07 03:30:37 -05:00 committed by Dominyk Tiller
parent df1e12a9be
commit 90b3594db8

View file

@ -1,8 +1,8 @@
class UnittestCpp < Formula
desc "Unit testing framework for C++"
homepage "https://github.com/unittest-cpp/unittest-cpp"
url "https://github.com/unittest-cpp/unittest-cpp/archive/v1.5.1.tar.gz"
sha256 "7021008424054fe17dbd10307b72367f172846173d20848e555f64b8a6b4a8a3"
url "https://github.com/unittest-cpp/unittest-cpp/releases/download/v1.6.1/unittest-cpp-1.6.1.tar.gz"
sha256 "5b00a217f90fe262d91d09405ef5a8b5d28063da2f701cc58af48d560c4792af"
head "https://github.com/unittest-cpp/unittest-cpp.git"
bottle do
@ -12,13 +12,12 @@ class UnittestCpp < Formula
sha256 "67f3d01e1d608e9f27d230e8e2bb35851248a69d526f120e78b13d9fdc2874b4" => :mavericks
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
def install
system "autoreconf", "-fvi"
system "./configure", "--prefix=#{prefix}", "--disable-silent-rules"
system "make", "install"
end
test do
assert_match version.to_s, shell_output("cat /usr/local/lib/pkgconfig/UnitTest++.pc | grep Version: | cut -d' ' -f2")
end
end