blob: e4cd199c9db9adea59f44afd95b743d715993667 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | 
require 'formula'
class Libgeotiff <Formula
  url 'ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/libgeotiff-1.2.5.tar.gz'
  homepage 'http://geotiff.osgeo.org/'
  md5 '000f247a88510f1b38d4b314d1e47048'
  depends_on 'libtiff'
  depends_on 'jpeg' => :optional
  depends_on 'proj' => :optional
  def install
    system "./configure", "--disable-debug", "--prefix=#{prefix}", "--with-libtiff=#{HOMEBREW_PREFIX}"
    system "make" # Separate steps or install fails
    system "make install"
  end
end
  |