blob: 24ea98e2ed2c63b2077c051eaa68638df4b8097f (
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.34.tar.bz2"
sha1 "8a8cdbeaf1622459864180fbf453e3ab7343f338"
bottle do
cellar :any
sha1 "f03537e2a9eca0407e84fcf88a9601808d65e2d8" => :mavericks
sha1 "0805fe1b177832da89b341d458661ba5af22abc7" => :mountain_lion
sha1 "99eb7fdff455eae118cb26d285c016ef980f8c6b" => :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
|