homebrew-core/Formula/pth.rb
Misty De Meo 0b37b9f22a pth: run make test
If pth is miscompiled, other software that uses it can fail
mysteriously without a clear indication of the source of the
problem. This causes problems with gnupg2 on some platforms,
for example.

pth's `make test` will reveal this kind of problem, so always run
that to be safe.

See: mistydemeo/tigerbrew#39.
2013-05-28 10:54:13 -05:00

19 lines
599 B
Ruby

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'
def install
ENV.deparallelize
# Note: shared library will not be build with --disable-debug, so don't add that flag
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make test"
system "make install"
end
end