homebrew-core/Formula/fontconfig.rb

20 lines
523 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Fontconfig < Formula
homepage 'http://fontconfig.org/'
2012-08-04 09:09:01 +00:00
url 'http://fontconfig.org/release/fontconfig-2.10.1.tar.gz'
sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043'
2011-03-16 05:01:31 +00:00
keg_only :provided_by_osx,
2012-08-04 09:09:35 +00:00
"Leopard comes with version 2.4.x, which is too old for many packages." \
if MacOS::X11.installed?
2012-08-04 09:09:35 +00:00
depends_on :freetype
2011-03-16 05:01:31 +00:00
depends_on 'pkg-config' => :build
2010-10-16 16:00:07 +00:00
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end