homebrew-core/Formula/harfbuzz.rb

21 lines
601 B
Ruby
Raw Normal View History

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