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.
12 lines
300 B
Ruby
12 lines
300 B
Ruby
require 'formula'
|
|
|
|
class Wget <Formula
|
|
homepage 'http://www.gnu.org/software/wget/'
|
|
url 'http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.bz2'
|
|
md5 'f5076a8c2ec2b7f334cb6e3059820f9c'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|