homebrew-core/Formula/gawk.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

13 lines
320 B
Ruby

require 'formula'
class Gawk <Formula
@url='http://ftp.gnu.org/gnu/gawk/gawk-3.1.7.tar.bz2'
@homepage='http://www.gnu.org/software/gawk/'
@md5='674cc5875714315c490b26293d36dfcf'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug"
system "make"
system "make install"
end
end