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
|
|
|
depends_on 'cairo' if MacOS.leopard?
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
2012-02-16 20:45:01 +00:00
|
|
|
|
2012-02-16 20:14:08 +00:00
|
|
|
def install
|
2012-06-07 01:35:12 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2012-02-16 20:14:08 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|