homebrew-core/Formula/libgaiagraphics.rb
Charlie Sharpsteen 0d86d3d3ef LibGaiagraphics: Depends on Cairo on Leopard
System Cairo is too old.
2012-02-16 12:45:01 -08:00

19 lines
503 B
Ruby

require 'formula'
class Libgaiagraphics < Formula
homepage 'https://www.gaia-gis.it/fossil/libgaiagraphics/index'
url 'http://www.gaia-gis.it/gaia-sins/libgaiagraphics-0.4b.tar.gz'
md5 '6e7c703faad9de3beea296aa9508eec2'
depends_on 'libgeotiff'
depends_on 'jpeg'
# Leopard's Cairo is too old.
depends_on 'cairo' if MacOS.leopard?
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end