2011-02-20 21:45:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libxmlxx < Formula
|
2011-05-01 11:43:11 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.34/libxml++-2.34.1.tar.gz'
|
2011-02-20 21:45:16 +00:00
|
|
|
homepage 'http://libxmlplusplus.sourceforge.net'
|
2011-05-01 11:43:11 +00:00
|
|
|
md5 'c73e3916a1a0f4d01291c852e9af6241'
|
2011-02-20 21:45:16 +00:00
|
|
|
|
|
|
|
depends_on 'glibmm'
|
2011-11-29 08:01:13 +00:00
|
|
|
# LibXML++ can't compile agains the version of LibXML shipped with Leopard
|
|
|
|
depends_on 'libxml2' if MacOS.leopard?
|
2011-02-20 21:45:16 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|