homebrew-core/Formula/libcroco.rb
samueljohn 487b63de6b libcroco: needs ENV.libxml2 for Xcode-only
Closes Homebrew/homebrew#14207.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-23 16:31:18 -05:00

20 lines
592 B
Ruby

require 'formula'
class Libcroco < Formula
homepage 'http://www.freespiders.org/projects/libcroco/'
url 'http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/libcroco-0.6.5.tar.xz'
sha256 '2c6959c3644e889264a61c35ddf17401c86943681d4fe3c1682ecd9acabda7e3'
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'glib'
depends_on 'intltool'
def install
ENV.libxml2
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-Bsymbolic"
system 'make install'
end
end