Libxml2
Providing a keg only version of libxml2. The one provided by Mac is old and doesn't contain some files used by some games.
This commit is contained in:
parent
7dc61cafff
commit
3e600f64bd
1 changed files with 19 additions and 0 deletions
19
Formula/libxml2.rb
Normal file
19
Formula/libxml2.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'formula'
|
||||
|
||||
class Libxml2 <Formula
|
||||
url 'ftp://xmlsoft.org/libxml2/libxml2-2.7.6.tar.gz'
|
||||
homepage 'http://xmlsoft.org'
|
||||
md5 '7740a8ec23878a2f50120e1faa2730f2'
|
||||
|
||||
def keg_only?
|
||||
:provided_by_osx
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.gcc_4_2
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make"
|
||||
ENV.j1
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue