homebrew-core/Formula/libgeotiff.rb
Charlie Sharpsteen 44d764963a libtiff, libgeotiff: Switch to download.osgeo.org
`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.
2011-09-11 08:14:31 -07:00

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