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.
15 lines
334 B
Ruby
15 lines
334 B
Ruby
require 'formula'
|
|
|
|
class Elinks <Formula
|
|
@homepage='http://elinks.or.cz/'
|
|
@url='http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
|
|
@md5='fcd087a6d2415cd4c6fd1db53dceb646'
|
|
|
|
def install
|
|
ENV.deparallelize
|
|
ENV.gcc_4_2
|
|
ENV.delete('LD')
|
|
system "./configure --prefix='#{prefix}'"
|
|
system "make install"
|
|
end
|
|
end
|