From 6bc7976ea9df0b9ecca8024e317ac0ea7ac5239d Mon Sep 17 00:00:00 2001 From: Dave Crossland Date: Tue, 9 Dec 2014 17:00:45 -0500 Subject: ttfautohint: support head Closes #34839. Signed-off-by: Jack Nagel --- Library/Formula/ttfautohint.rb | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/ttfautohint.rb b/Library/Formula/ttfautohint.rb index 8d3aa2e3c..caf5575cc 100644 --- a/Library/Formula/ttfautohint.rb +++ b/Library/Formula/ttfautohint.rb @@ -5,6 +5,15 @@ class Ttfautohint < Formula url "https://downloads.sourceforge.net/project/freetype/ttfautohint/1.2/ttfautohint-1.2.tar.gz" sha1 "d4c4c570139da9667744e086da57ee5a21872630" + head do + url "http://repo.or.cz/ttfautohint.git" + depends_on "bison" => :build + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "pkg-config" => :build + depends_on "libtool" => :build + end + bottle do cellar :any sha1 "560b377ed563e03032b8ca14a6e23cf051c9e855" => :mavericks @@ -18,10 +27,16 @@ class Ttfautohint < Formula depends_on "harfbuzz" def install + if build.head? + ln_s cached_download/".git", ".git" + system "./bootstrap" + end + system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", "--prefix=#{prefix}", - "--with-qt=no" + "--with-qt=no", + "--without-doc" system "make install" end -- cgit v1.2.3