aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tpl.rb15
1 files changed, 6 insertions, 9 deletions
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