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.
18 lines
545 B
Ruby
18 lines
545 B
Ruby
require 'formula'
|
|
|
|
class Lynx <Formula
|
|
url 'http://lynx.isc.org/release/lynx2.8.7.tar.bz2'
|
|
homepage 'http://lynx.isc.org/release/'
|
|
md5 '493af4c77ef6761e3f0157cd1be033a0'
|
|
|
|
def install
|
|
system "./configure", "--silent",
|
|
"--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-echo",
|
|
"--with-zlib",
|
|
"--with-bzlib"
|
|
system "make install"
|
|
end
|
|
end
|