aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/harfbuzz.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/harfbuzz.rb')
-rw-r--r--Library/Formula/harfbuzz.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/harfbuzz.rb b/Library/Formula/harfbuzz.rb
new file mode 100644
index 000000000..73a20f214
--- /dev/null
+++ b/Library/Formula/harfbuzz.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Harfbuzz < Formula
+ homepage 'http://www.freedesktop.org/wiki/Software/HarfBuzz'
+ url 'http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.12.tar.bz2'
+ sha256 'c653f70a275e98d109a9f1271373a6e80978c97298d723cb3f370351852f9da5'
+
+ depends_on 'pkg-config' => :build
+
+ # Requires newer autotools on all platforms
+ depends_on 'autoconf' => :build
+ depends_on 'automake' => :build
+ depends_on 'libtool' => :build
+ depends_on 'glib'
+ depends_on 'icu4c' => :recommended
+
+ def install
+ system "./autogen.sh"
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+
+end