blob: a85605e2fd0f70ff8809cb2fe2b81757f991b3a9 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | require "formula"
class Libxmlxx < Formula
  homepage "http://libxmlplusplus.sourceforge.net"
  url "http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.36/libxml++-2.36.0.tar.xz"
  sha256 "bfdf327bf9ebd12946b7aa6a152045f209d5c9fecd06ebfcdf9b3e7c1af6e2e1"
  bottle do
    revision 1
    sha1 "bb673ee532003e956f2e36a28e511ada53bfedfe" => :yosemite
    sha1 "014015ca42d6cc9fdaac471d0dcfbae417e4f3a8" => :mavericks
  end
  depends_on "pkg-config" => :build
  depends_on "glibmm"
  # LibXML++ can't compile agains the version of LibXML shipped with Leopard
  depends_on "libxml2" if MacOS.version <= :leopard
  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end
 |