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 'intltool' => :build depends_on 'glib' def install ENV.libxml2 system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-Bsymbolic" system 'make install' end end