2011-02-20 21:45:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libxmlxx < Formula
|
2012-02-06 21:38:24 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.34/libxml++-2.34.2.tar.bz2'
|
2011-02-20 21:45:16 +00:00
|
|
|
homepage 'http://libxmlplusplus.sourceforge.net'
|
2012-02-06 21:38:24 +00:00
|
|
|
sha256 '38f20632a711d06166b03a2a92ce71b08130ac30e014805a7052ae3f4c0b15e8'
|
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
|
2012-09-05 04:04:01 +00:00
|
|
|
depends_on 'libxml2' if MacOS.version == :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
|