2012-04-13 05:40:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ttfautohint < Formula
|
|
|
|
homepage 'http://www.freetype.org/ttfautohint'
|
2013-05-05 23:48:20 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/freetype/ttfautohint-0.95.tar.gz'
|
|
|
|
sha1 '5039cf8af38283a2f70b8912a968dd1abde9836a'
|
2012-04-13 05:40:55 +00:00
|
|
|
|
|
|
|
depends_on :freetype
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-qt=no"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2013-03-25 18:19:08 +00:00
|
|
|
test do
|
|
|
|
system "#{bin}/ttfautohint", "-V"
|
2012-04-13 05:40:55 +00:00
|
|
|
end
|
|
|
|
end
|