homebrew-core/Formula/fontconfig.rb
Adam Vandenberg e07c6dba29 Keg-only fontconfig for Leopard.
Leopard provides fontconfig 2.4.x, but advertises it in the .pc file
as 2.6.0. This causes problems, so we provide a keg-only formula for this.
2010-04-27 09:31:02 -07:00

17 lines
425 B
Ruby

require 'formula'
class Fontconfig <Formula
url 'http://fontconfig.org/release/fontconfig-2.8.0.tar.gz'
homepage 'http://fontconfig.org/'
md5 '77e15a92006ddc2adbb06f840d591c0e'
# Leopard comes with 2.4.x, which is too old for many packages.
def keg_only?
:provided_by_osx
end
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end