forked from maxim-belkin/homebrew-xorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfont-bitstream-type1.rb
32 lines (28 loc) · 1.03 KB
/
font-bitstream-type1.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
class FontBitstreamType1 < Formula
desc "X.Org Fonts: font bitstream type1"
homepage "http://www.x.org/"
### http://www.linuxfromscratch.org/blfs/view/svn/x/x7font.html
url "https://www.x.org/pub/individual/font/font-bitstream-type1-1.0.3.tar.bz2"
mirror "http://xorg.freedesktop.org/archive/individual/font/font-bitstream-type1-1.0.3.tar.bz2"
mirror "http://ftp.x.org/archive/individual/font/font-bitstream-type1-1.0.3.tar.bz2"
sha256 "c6ea0569adad2c577f140328dc3302e729cb1b1ea90cd0025caf380625f8a688"
# tag "linuxbrew"
depends_on "pkg-config" => :build
depends_on "font-util" => :build
depends_on "bdftopcf" => :build
depends_on "mkfontdir" => :build
depends_on "fontconfig" => :build
def install
args = %W[
--prefix=#{prefix}
--sysconfdir=#{etc}
--localstatedir=#{var}
--disable-dependency-tracking
--disable-silent-rules
]
system "./configure", *args
system "make"
system "make", "install"
prefix.install "README" => "font-bitstream-type1.md"
end
end