2013-02-02 07:36:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Harfbuzz < Formula
|
|
|
|
homepage 'http://www.freedesktop.org/wiki/Software/HarfBuzz'
|
2013-11-14 16:21:20 +00:00
|
|
|
url 'http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.24.tar.bz2'
|
|
|
|
sha256 'edf25dd8a318acdeacd2aeade2387db23c109fec0da626f2127f43917a372422'
|
2013-02-02 07:36:49 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'glib'
|
2013-05-29 17:38:22 +00:00
|
|
|
depends_on 'cairo'
|
2013-02-02 07:36:49 +00:00
|
|
|
depends_on 'icu4c' => :recommended
|
2013-09-01 19:24:19 +00:00
|
|
|
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}]
|
|
|
|
args << "--with-icu" if build.with? 'icu4c'
|
|
|
|
system "./configure", *args
|
2013-02-02 07:36:49 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|