forked from maxim-belkin/homebrew-xorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
font-alias.rb
33 lines (28 loc) · 978 Bytes
/
font-alias.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
class FontAlias < Formula
desc "X.Org Fonts: font alias"
homepage "http://www.x.org/"
### http://www.linuxfromscratch.org/blfs/view/svn/x/x7font.html
url "https://www.x.org/pub/individual/font/font-alias-1.0.3.tar.bz2"
mirror "http://xorg.freedesktop.org/archive/individual/font/font-alias-1.0.3.tar.bz2"
mirror "http://ftp.x.org/archive/individual/font/font-alias-1.0.3.tar.bz2"
sha256 "8b453b2aae1cfa8090009ca037037b8c5e333550651d5a158b7264ce1d472c9a"
# tag "linuxbrew"
bottle do
cellar :any
sha256 "1486363066ac2288cb10218c7fd9b1672f56e42e79f5853df122068bef063db8" => :x86_64_linux
end
depends_on "pkg-config" => :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-alias.md"
end
end