diff options
| author | Jack Nagel | 2014-05-31 20:11:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-31 20:11:06 -0500 |
| commit | 7a9089cfa429acc83ea3b2b2fe0d2cbafd6a5ccf (patch) | |
| tree | 420bf5e55408acb08e6677bc0e7a6b4749d4c9e3 /Library/Formula/tpl.rb | |
| parent | c6cf8acbf408406b5ec7ccf712c4cd4a7dfe5c62 (diff) | |
| download | homebrew-7a9089cfa429acc83ea3b2b2fe0d2cbafd6a5ccf.tar.bz2 | |
tpl: modernize autotools deps, always run tests
Diffstat (limited to 'Library/Formula/tpl.rb')
| -rw-r--r-- | Library/Formula/tpl.rb | 15 |
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 |
