2010-04-06 14:37:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class HtmlXmlUtils < Formula
|
2010-04-06 14:37:32 +00:00
|
|
|
homepage 'http://www.w3.org/Tools/HTML-XML-utils/'
|
2012-09-07 21:18:56 +00:00
|
|
|
url 'http://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-6.1.tar.gz'
|
|
|
|
sha1 '788f9eef4347e49f7e4880d99ad5d27c1e8776fd'
|
2010-04-06 14:37:32 +00:00
|
|
|
|
2012-09-07 15:48:42 +00:00
|
|
|
fails_with :clang do
|
|
|
|
build 421
|
|
|
|
cause <<-EOS.undent
|
|
|
|
Undefined symbols for architecture x86_64:
|
|
|
|
"_min", referenced from:
|
|
|
|
_write_index_item in hxindex.o
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2010-04-06 14:37:32 +00:00
|
|
|
def install
|
2012-09-07 21:18:56 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-09-07 15:48:42 +00:00
|
|
|
"--prefix=#{prefix}"
|
2010-04-06 14:37:32 +00:00
|
|
|
system "make"
|
2012-09-07 15:48:42 +00:00
|
|
|
ENV.j1 # install is not thread-safe
|
2010-04-06 14:37:32 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|