homebrew-core/Formula/harfbuzz.rb
2013-11-14 10:21:20 -06:00

20 lines
601 B
Ruby

require 'formula'
class Harfbuzz < Formula
homepage 'http://www.freedesktop.org/wiki/Software/HarfBuzz'
url 'http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.24.tar.bz2'
sha256 'edf25dd8a318acdeacd2aeade2387db23c109fec0da626f2127f43917a372422'
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