diff options
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 |
