forked from maxim-belkin/homebrew-xorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathencodings.rb
30 lines (26 loc) · 917 Bytes
/
encodings.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
class Encodings < Formula
desc "X.Org Fonts: encodings"
homepage "http://www.x.org/"
### http://www.linuxfromscratch.org/blfs/view/svn/x/x7font.html
url "https://www.x.org/pub/individual/font/encodings-1.0.4.tar.bz2"
mirror "http://xorg.freedesktop.org/archive/individual/font/encodings-1.0.4.tar.bz2"
mirror "http://ftp.x.org/archive/individual/font/encodings-1.0.4.tar.bz2"
sha256 "ced6312988a45d23812c2ac708b4595f63fd7a49c4dcd9f66bdcd50d1057d539"
# tag "linuxbrew"
depends_on "pkg-config" => :build
depends_on "font-util" => :build
depends_on "mkfontscale" => :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" => "encodings.md"
end
end