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"
|
|
|
|
url "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.29.tar.bz2"
|
|
|
|
sha256 "601cea38c6fa0cf362dd9042c66cf4db711c5f9390de4ca46d6d2fc3f64de390"
|
2013-02-02 07:36:49 +00:00
|
|
|
|
2014-02-22 18:38:59 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-06-01 16:05:05 +00:00
|
|
|
sha1 "6e555247637793751a9239c4a89f76a2c4dba592" => :mavericks
|
|
|
|
sha1 "930861e39cfc46a129f841d86adae5d055420188" => :mountain_lion
|
|
|
|
sha1 "81e2eed81f983e81fbab4d19020ebb275bfba727" => :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
|