homebrew-core/Formula/fontconfig.rb
2012-10-20 08:54:37 -07:00

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