aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/elinks.rb
blob: e4a0861160d47c17212fbc3601fc16ac6c7760fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Elinks < Formula
  homepage 'http://elinks.or.cz/'
  url 'http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
  md5 'fcd087a6d2415cd4c6fd1db53dceb646'

  head 'http://elinks.cz/elinks.git', :using => :git

  fails_with_llvm :build => 2326

  def install
    ENV.deparallelize
    ENV.delete('LD')
    system "./autogen.sh" if ARGV.build_head?
    system "./configure", "--prefix=#{prefix}", "--without-spidermonkey"
    system "make install"
  end
end