blob: a7ff7e11eadc0d80021ca7631c951263cdbe82bb (
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.27.tar.bz2'
sha256 '08584ae91c98d5b14d5f2c45b01410a12b030c9397bd73135bd2155297b447db'
bottle do
cellar :any
sha1 "27623054bf6ca9f54428f0fe63bc2c2caa726325" => :mavericks
sha1 "120db14c8928fc948340ff14ecab0bb814048fac" => :mountain_lion
sha1 "7c99b0595e9ea6e44eb346779bd06db1aeb6b49a" => :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
|