20 lines
492 B
Ruby
20 lines
492 B
Ruby
require 'formula'
|
|
|
|
class Fontconfig < Formula
|
|
homepage 'http://fontconfig.org/'
|
|
url 'http://fontconfig.org/release/fontconfig-2.10.1.tar.gz'
|
|
sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043'
|
|
|
|
keg_only :provided_pre_mountain_lion
|
|
|
|
option :universal
|
|
|
|
depends_on :freetype
|
|
depends_on 'pkg-config' => :build
|
|
|
|
def install
|
|
ENV.universal_binary if build.universal?
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|