homebrew-core/Formula/harfbuzz.rb

28 lines
833 B
Ruby
Raw Normal View History

require 'formula'
class Harfbuzz < Formula
homepage 'http://www.freedesktop.org/wiki/Software/HarfBuzz'
2014-03-23 16:47:15 +00:00
url 'http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.27.tar.bz2'
sha256 '08584ae91c98d5b14d5f2c45b01410a12b030c9397bd73135bd2155297b447db'
2014-02-22 18:38:59 +00:00
bottle do
cellar :any
2014-03-23 16:55:40 +00:00
sha1 "27623054bf6ca9f54428f0fe63bc2c2caa726325" => :mavericks
sha1 "120db14c8928fc948340ff14ecab0bb814048fac" => :mountain_lion
sha1 "7c99b0595e9ea6e44eb346779bd06db1aeb6b49a" => :lion
2014-02-22 18:38:59 +00:00
end
depends_on 'pkg-config' => :build
depends_on 'glib'
2013-05-29 17:38:22 +00:00
depends_on 'cairo'
depends_on 'icu4c' => :recommended
2013-09-01 19:24:19 +00:00
depends_on :freetype
def install
2013-09-01 19:20:40 +00:00
args = %W[--disable-dependency-tracking --prefix=#{prefix}]
args << "--with-icu" if build.with? 'icu4c'
system "./configure", *args
system "make install"
end
end