blob: 2fe84d746b4ce7b6b280e53b2b06bb49df34d43a (
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
  def test
    system "#{bin}/ttfautohint -V"
  end
end
  |