forked from maxim-belkin/homebrew-xorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
font-bh-lucidatypewriter-100dpi.rb
38 lines (33 loc) · 1.32 KB
/
font-bh-lucidatypewriter-100dpi.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
class FontBhLucidatypewriter100dpi < Formula
desc "X.Org Fonts: font bh lucidatypewriter 100dpi"
homepage "http://www.x.org/"
### http://www.linuxfromscratch.org/blfs/view/svn/x/x7font.html
url "https://www.x.org/pub/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2"
mirror "http://xorg.freedesktop.org/archive/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2"
mirror "http://ftp.x.org/archive/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2"
sha256 "62a83363c2536095fda49d260d21e0847675676e4e3415054064cbdffa641fbb"
# tag "linuxbrew"
bottle do
sha256 "59e3b7522f8d014a0ae3f3a764db22a37930abff4da7ec363f68fa9ee4b5885e" => :x86_64_linux
end
depends_on "pkg-config" => :build
depends_on "font-util" => :build
depends_on "bdftopcf" => :build
depends_on "mkfontdir" => :build
depends_on "fontconfig" => :build
depends_on "bzip2" => [:build, :recommended]
def install
args = %W[
--prefix=#{prefix}
--sysconfdir=#{etc}
--localstatedir=#{var}
--disable-dependency-tracking
--disable-silent-rules
]
args << "--with-compression=bzip2" if build.with?("bzip2")
system "./configure", *args
system "make"
system "make", "install"
prefix.install "README" => "font-bh-lucidatypewriter-100dpi.md"
end
end