homebrew-core/Formula/harfbuzz.rb
2013-12-05 19:03:36 -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.25.tar.bz2'
sha256 'dc6e5997a569526cd28147a80a0f65466e87ae617753b38704a60184bc6d6bee'
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