From 7a9089cfa429acc83ea3b2b2fe0d2cbafd6a5ccf Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 31 May 2014 20:11:06 -0500 Subject: tpl: modernize autotools deps, always run tests --- Library/Formula/tpl.rb | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Formula/tpl.rb b/Library/Formula/tpl.rb index 62c5eeeec..bd24579a6 100644 --- a/Library/Formula/tpl.rb +++ b/Library/Formula/tpl.rb @@ -6,19 +6,16 @@ class Tpl < Formula sha1 "2ee92627e8f67400061d8fc606b601988ed90217" head "https://github.com/troydhanson/tpl.git" - option "with-tests", "Verify the build using the test suite." - - depends_on :autoconf - depends_on :automake - depends_on :libtool + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build def install - system "autoreconf", "-i" - system "./configure", "--disable-debug", - "--disable-dependency-tracking", + system "autoreconf", "-fvi" + system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", "--prefix=#{prefix}" system "make", "install" - system "make", "-C", "tests" if build.with? "tests" + system "make", "-C", "tests" end end -- cgit v1.2.3