homebrew-core/Formula/pth.rb
Jack Nagel fa3d89a7c0 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00

16 lines
494 B
Ruby

require 'formula'
class Pth < Formula
url 'http://ftpmirror.gnu.org/pth/pth-2.0.7.tar.gz'
homepage 'http://www.gnu.org/software/pth/'
md5 '9cb4a25331a4c4db866a31cbe507c793'
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 install"
end
end