e07c6dba29
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.
17 lines
425 B
Ruby
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
|