t1lib 5.1.2 (new formula)
Closes Homebrew/homebrew#26001. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>master
parent
025188d823
commit
7c85c1d7c5
|
@ -0,0 +1,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'
|
||||
cp_r 'Fonts', "#{share}/t1lib/fonts"
|
||||
end
|
||||
|
||||
test do
|
||||
cp "#{share}/t1lib/fonts/type1/bchri.pfb", 'test.pfb'
|
||||
system "#{bin}/type1afm", 'test.pfb'
|
||||
assert File.exist? 'test.afm'
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue