2014-06-01 15:56:01 +00:00
|
|
|
require "formula"
|
2013-02-02 07:36:49 +00:00
|
|
|
|
|
|
|
class Harfbuzz < Formula
|
2014-06-01 15:56:01 +00:00
|
|
|
homepage "http://www.freedesktop.org/wiki/Software/HarfBuzz"
|
2014-07-11 00:41:33 +00:00
|
|
|
url "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.30.tar.bz2"
|
|
|
|
sha256 "fa873f9fe4a5ad4f7beb524475e13a5a8729d7414d2bc64a557c0d5651d58586"
|
2013-02-02 07:36:49 +00:00
|
|
|
|
2014-02-22 18:38:59 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-07-11 00:51:00 +00:00
|
|
|
sha1 "1fb7882bac92e419b2b4ca8b4dbc314d31d64ebd" => :mavericks
|
|
|
|
sha1 "dc61d965ab5cf75a5d4989358e31e3b3693bd7b9" => :mountain_lion
|
|
|
|
sha1 "aaf295276a02e9f9977b2bf95aed8fa2a8e3f64a" => :lion
|
2014-02-22 18:38:59 +00:00
|
|
|
end
|
|
|
|
|
2014-06-01 15:56:01 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "glib"
|
|
|
|
depends_on "cairo"
|
|
|
|
depends_on "icu4c" => :recommended
|
|
|
|
depends_on "freetype"
|
2013-02-02 07:36:49 +00:00
|
|
|
|
|
|
|
def install
|
2013-09-01 19:20:40 +00:00
|
|
|
args = %W[--disable-dependency-tracking --prefix=#{prefix}]
|
2014-06-01 15:56:01 +00:00
|
|
|
args << "--with-icu" if build.with? "icu4c"
|
2013-09-01 19:20:40 +00:00
|
|
|
system "./configure", *args
|
2013-02-02 07:36:49 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|