7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
359 B
Ruby
16 lines
359 B
Ruby
require 'formula'
|
|
|
|
class Libxml2 <Formula
|
|
url 'ftp://xmlsoft.org/libxml2/libxml2-2.7.7.tar.gz'
|
|
homepage 'http://xmlsoft.org'
|
|
md5 '9abc9959823ca9ff904f1fbcf21df066'
|
|
|
|
keg_only :provided_by_osx
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
system "make"
|
|
ENV.j1
|
|
system "make install"
|
|
end
|
|
end
|