homebrew-core/Formula/gawk.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

17 lines
429 B
Ruby

require 'formula'
class Gawk < Formula
url 'http://ftpmirror.gnu.org/gawk/gawk-4.0.0.tar.bz2'
homepage 'http://www.gnu.org/software/gawk/'
md5 '7cdc48e99b885a4bbe0e98dcf1706b22'
fails_with_llvm "Undefined symbols when linking", :build => "2326"
def install
system "./configure", "--prefix=#{prefix}"
system "make"
ENV.j1 # Run tests serialized
system "make check"
system "make install"
end
end