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

12 lines
356 B
Ruby

require 'formula'
class GnuSed <Formula
@url='http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.bz2'
@homepage='http://www.gnu.org/software/sed/'
@md5='7d310fbd76e01a01115075c1fd3f455a'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--program-prefix=g"
system "make install"
end
end