homebrew-core/Formula/gawk.rb
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00

23 lines
531 B
Ruby

require 'formula'
class Gawk < Formula
homepage 'http://www.gnu.org/software/gawk/'
url 'http://ftpmirror.gnu.org/gawk/gawk-4.0.1.tar.xz'
mirror 'http://ftp.gnu.org/gnu/gawk/gawk-4.0.1.tar.xz'
md5 'a601b032c39cd982f34272664f8afa49'
depends_on 'xz' => :build
fails_with :llvm do
build 2326
cause "Undefined symbols when linking"
end
def install
system "./configure", "--prefix=#{prefix}"
system "make"
ENV.j1 # Run tests serialized
system "make check"
system "make install"
end
end