2009-11-02 03:00:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libxml2 <Formula
|
2010-04-26 16:52:46 +00:00
|
|
|
url 'ftp://xmlsoft.org/libxml2/libxml2-2.7.7.tar.gz'
|
2009-11-02 03:00:35 +00:00
|
|
|
homepage 'http://xmlsoft.org'
|
2010-04-26 16:52:46 +00:00
|
|
|
md5 '9abc9959823ca9ff904f1fbcf21df066'
|
2009-11-02 03:00:35 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
keg_only :provided_by_osx
|
2009-11-02 03:00:35 +00:00
|
|
|
|
|
|
|
def install
|
2010-10-06 18:42:27 +00:00
|
|
|
fails_with_llvm "Undefined symbols when linking", :build => "2326"
|
2010-04-26 16:52:46 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2009-11-02 03:00:35 +00:00
|
|
|
system "make"
|
|
|
|
ENV.j1
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|