aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/harfbuzz.rb
blob: f8cea99ea4efcf91e2b482fd61ef68fad1f2f189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require "formula"

class Harfbuzz < Formula
  homepage "http://www.freedesktop.org/wiki/Software/HarfBuzz"
  url "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.29.tar.bz2"
  sha256 "601cea38c6fa0cf362dd9042c66cf4db711c5f9390de4ca46d6d2fc3f64de390"

  bottle do
    cellar :any
    sha1 "6e555247637793751a9239c4a89f76a2c4dba592" => :mavericks
    sha1 "930861e39cfc46a129f841d86adae5d055420188" => :mountain_lion
    sha1 "81e2eed81f983e81fbab4d19020ebb275bfba727" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "glib"
  depends_on "cairo"
  depends_on "icu4c" => :recommended
  depends_on "freetype"

  def install
    args = %W[--disable-dependency-tracking --prefix=#{prefix}]
    args << "--with-icu" if build.with? "icu4c"
    system "./configure", *args
    system "make install"
  end
end