homebrew-core/Formula/libxml++.rb

19 lines
601 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libxmlxx < Formula
url 'http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.34/libxml++-2.34.2.tar.bz2'
homepage 'http://libxmlplusplus.sourceforge.net'
sha256 '38f20632a711d06166b03a2a92ce71b08130ac30e014805a7052ae3f4c0b15e8'
depends_on 'pkg-config' => :build
depends_on 'glibmm'
2011-11-29 08:01:13 +00:00
# LibXML++ can't compile agains the version of LibXML shipped with Leopard
2013-07-10 02:30:15 +00:00
depends_on 'libxml2' if MacOS.version <= :leopard
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
2011-03-10 05:11:03 +00:00
end