2012-02-16 20:14:08 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libgaiagraphics < Formula
|
|
|
|
homepage 'https://www.gaia-gis.it/fossil/libgaiagraphics/index'
|
2012-05-05 17:21:32 +00:00
|
|
|
url 'http://www.gaia-gis.it/gaia-sins/gaiagraphics-sources/libgaiagraphics-0.4b.tar.gz'
|
2012-02-16 20:14:08 +00:00
|
|
|
md5 '6e7c703faad9de3beea296aa9508eec2'
|
|
|
|
|
|
|
|
depends_on 'libgeotiff'
|
|
|
|
depends_on 'jpeg'
|
|
|
|
|
2012-02-16 20:45:01 +00:00
|
|
|
# Leopard's Cairo is too old.
|
|
|
|
depends_on 'cairo' if MacOS.leopard?
|
|
|
|
|
2012-02-16 20:14:08 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|