aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ttfautohint.rb
blob: 898369a3b8ab94899e9838094cb97e9454f99dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class Ttfautohint < Formula
  homepage 'http://www.freetype.org/ttfautohint'
  url 'http://download.savannah.gnu.org/releases/freetype/ttfautohint-0.92.tar.gz'
  sha1 'c1d169cae2cf71ca39fe108815844574846113c5'

  depends_on :freetype

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--with-qt=no"
    system "make install"
  end

  test do
    system "#{bin}/ttfautohint", "-V"
  end
end