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.
14 lines
377 B
Ruby
14 lines
377 B
Ruby
require 'formula'
|
|
|
|
class W3m <Formula
|
|
url 'http://downloads.sourceforge.net/project/w3m/w3m/w3m-0.5.2/w3m-0.5.2.tar.gz'
|
|
homepage 'http://w3m.sourceforge.net/'
|
|
md5 'ba06992d3207666ed1bf2dcf7c72bf58'
|
|
|
|
depends_on 'bdw-gc'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|