blob: e0fb289d427a03b55789a1dd42d31f25653593de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class T1lib < Formula
homepage 'http://www.t1lib.org/'
url 'http://www.ibiblio.org/pub/Linux/libs/graphics/t1lib-5.1.2.tar.gz'
sha1 '4b4fc22c8688eefaaa8cfc990f0039f95f4287de'
def install
system './configure', "--prefix=#{prefix}"
system 'make', 'without_doc'
system 'make', 'install'
share.install 'Fonts' => 'fonts'
end
test do
cp "#{share}/fonts/type1/bchri.pfb", 'test.pfb'
system "#{bin}/type1afm", 'test.pfb'
assert File.exist? 'test.afm'
end
end
|