44d764963a
`ftp://download.remotesensing.org` is just a FTP proxy for `http://download.osgeo.org`. The primary download server for OSGeo went out a couple of days ago due to a power outage in San Diego. `download.osgeo.org` has been back for two days, but `download.remotesensing.org` is still out so let's shorten the server chain and go directly to the source. This change affects `libtiff` and `libgeotiff`. Fixes Homebrew/homebrew#7560.
17 lines
499 B
Ruby
17 lines
499 B
Ruby
require 'formula'
|
|
|
|
class Libgeotiff < Formula
|
|
url 'http://download.osgeo.org/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
|