61b2307139
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.
13 lines
320 B
Ruby
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
|