homebrew-core/Formula/t1lib.rb

30 lines
1.8 KiB
Ruby

class T1lib < Formula
desc "C library to generate/rasterize bitmaps from Type 1 fonts"
homepage "https://www.t1lib.org/"
url "https://www.ibiblio.org/pub/linux/libs/graphics/t1lib-5.1.2.tar.gz"
mirror "https://fossies.org/linux/misc/old/t1lib-5.1.2.tar.gz"
sha256 "821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59"
license "GPL-2.0"
bottle do
rebuild 2
sha256 arm64_monterey: "015a6d7c251045c97f334922342d56d1ba93a398f32ba4c0b32ce9ef494fa02a"
sha256 arm64_big_sur: "e9a134358b78dfcbf7d13a6edc7de434eb72981c14ec81d461527b05f2e32b1d"
sha256 monterey: "3989c26968d5f2d39ee4f6677121b3bafc455f7780eeb1394250792535f2392e"
sha256 big_sur: "297e202327e6968bb7bd6d6ebff52205128189fa91bfc37785d45b4df028d3b6"
sha256 catalina: "9318f5f1fcb5b4f3b0b5ce67c0925964c95bf10b7f843c70e4f6ed2b5a734360"
sha256 mojave: "2fc10925d1618b809de806ee87722c96d8c03655e3d586f0a37b3d049ee2e082"
sha256 high_sierra: "a36bc3913f6b51cb7772609a52049f90fc6241ffca3bf18c4295455ef5f4df4c"
sha256 sierra: "94789287c849a04f05a40c79940aee6efe3e03318c95db9c2be69ee4e6806d82"
sha256 el_capitan: "fa356a5405f5b0cf57c15ebd5b680c215e1e498189914e9b9663eb132655a8c1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "51b691773063f4f7c0e6cbfa5be259516c77ad7b1c52bb189d045b8056216bf9"
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "without_doc"
system "make", "install"
share.install "Fonts" => "fonts"
end
end