homebrew-core/Formula/libxml++.rb
2014-10-20 08:06:00 +01:00

23 lines
739 B
Ruby

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