diff options
| author | Mike McQuaid | 2014-12-27 16:10:54 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-27 16:31:48 +0000 |
| commit | 3c7bfbafea37af9707a1564995602bbeef5cb64e (patch) | |
| tree | c6fc0d6ee696c5d2815347d15c3a7b56708c2f51 /Library/Formula | |
| parent | d3074f5bb9bb7d522bff7ad7873f03610ed15054 (diff) | |
| download | homebrew-3c7bfbafea37af9707a1564995602bbeef5cb64e.tar.bz2 | |
pth: fix strict audit failures.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pth.rb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Library/Formula/pth.rb b/Library/Formula/pth.rb index f5f4940f9..eff90b541 100644 --- a/Library/Formula/pth.rb +++ b/Library/Formula/pth.rb @@ -1,10 +1,8 @@ -require 'formula' - class Pth < Formula - homepage 'http://www.gnu.org/software/pth/' - url 'http://ftpmirror.gnu.org/pth/pth-2.0.7.tar.gz' - mirror 'http://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz' - sha1 '9a71915c89ff2414de69fe104ae1016d513afeee' + homepage "http://www.gnu.org/software/pth/" + url "http://ftpmirror.gnu.org/pth/pth-2.0.7.tar.gz" + mirror "http://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz" + sha1 "9a71915c89ff2414de69fe104ae1016d513afeee" bottle do cellar :any @@ -16,10 +14,14 @@ class Pth < Formula def install ENV.deparallelize - # Note: shared library will not be build with --disable-debug, so don't add that flag + # Note: shared library will not be build with --disable-debug, so don"t add that flag system "./configure", "--prefix=#{prefix}", "--mandir=#{man}" system "make" - system "make test" - system "make install" + system "make", "test" + system "make", "install" + end + + test do + system "#{bin}/pth-config", "--all" end end |
