aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ttfautohint.rb
blob: cf9a4587a45abf09251c8b30fa6ca45a0bcf03b8 (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 'https://downloads.sourceforge.net/project/freetype/ttfautohint/0.97/ttfautohint-0.97.tar.gz'
  sha1 '8e11226a9d6d2f8210c752dc97c614d5b753651a'

  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