aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libxml++.rb
blob: 548612e5079bf5cc6dd05d2bccadd37dc29b30d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Libxmlxx < Formula
  url 'http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.34/libxml++-2.34.1.tar.gz'
  homepage 'http://libxmlplusplus.sourceforge.net'
  md5 'c73e3916a1a0f4d01291c852e9af6241'

  depends_on 'glibmm'
  # LibXML++ can't compile agains the version of LibXML shipped with Leopard
  depends_on 'libxml2' if MacOS.leopard?

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end