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

class Libcroco < Formula
  homepage 'http://www.linuxfromscratch.org/blfs/view/svn/general/libcroco.html'
  url 'http://download.gnome.org/sources/libcroco/0.6/libcroco-0.6.5.tar.xz'
  sha256 '2c6959c3644e889264a61c35ddf17401c86943681d4fe3c1682ecd9acabda7e3'

  depends_on 'pkg-config' => :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