homebrew-core/Formula/libgeotiff.rb
Pete Gadomski 4449745e43 New formula: libgeotiff
Libgeotiff is an open source library normally hosted on top of libtiff for
reading, and writing GeoTIFF information tags. The libgeotiff library is a
sub-project of the MetaCRS project.

http://trac.osgeo.org/geotiff/

Signed-off-by: Pete Gadomski <pete.gadomski@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

Add optional dependencies to libgeotiff.
2010-03-22 11:14:27 -07:00

17 lines
467 B
Ruby

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}"
system "make" # Separate steps or install fails
system "make install"
end
end