aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/html-xml-utils.rb
blob: ed4c869957d8a094662fb81066ea2c19c772db91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

class HtmlXmlUtils < Formula
  homepage 'http://www.w3.org/Tools/HTML-XML-utils/'
  url 'http://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-6.1.tar.gz'
  sha1 '788f9eef4347e49f7e4880d99ad5d27c1e8776fd'

  fails_with :clang do
    build 425
    cause <<-EOS.undent
      Undefined symbols for architecture x86_64:
        "_min", referenced from:
            _write_index_item in hxindex.o
      EOS
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"
    ENV.j1 # install is not thread-safe
    system "make install"
  end
end