homebrew-core/Formula/t1lib.rb

22 lines
832 B
Ruby

class T1lib < Formula
desc "C library to generate/rasterize bitmaps from Type 1 fonts"
homepage "http://www.t1lib.org/"
url "https://www.ibiblio.org/pub/linux/libs/graphics/t1lib-5.1.2.tar.gz"
mirror "ftp://ftp.ibiblio.org/pub/linux/libs/graphics/t1lib-5.1.2.tar.gz"
sha256 "821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59"
bottle do
revision 2
sha256 "fa356a5405f5b0cf57c15ebd5b680c215e1e498189914e9b9663eb132655a8c1" => :el_capitan
sha256 "6d1bf242eb7a5201180b9d4b505a7f83663802383d358180cea696714ae57fc8" => :yosemite
sha256 "ec107b30d4b9a95bbc094a7a944cab862ed78a875c5ed0002aa7232ec514e9d7" => :mavericks
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "without_doc"
system "make", "install"
share.install "Fonts" => "fonts"
end
end