homebrew-core/Formula/libgeotiff.rb
2015-06-05 14:47:57 +01:00

28 lines
984 B
Ruby

class Libgeotiff < Formula
desc "Library and tools for dealing with GeoTIFF"
homepage 'http://geotiff.osgeo.org/'
url 'http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.1.tar.gz'
sha1 'bc9e2bb43f3877b795b4b191e7aec6267f4a1c7e'
revision 1
bottle do
sha256 "cc50df08d046654c4dcdb71dca892522ddbe7f4d08bf76db875843b5278f8c72" => :yosemite
sha256 "a06efe08c1bd6a4c8c2e17d8081bafb2c6fd7e6a46083d7ff3228f98d3dca7e3" => :mavericks
sha256 "07efe6adec3e35b7e3d05af18e62a407041d84a96fa91a64757aa1e0b4696fd6" => :mountain_lion
end
depends_on 'libtiff'
depends_on 'lzlib'
depends_on 'jpeg'
depends_on 'proj'
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}",
"--with-libtiff=#{HOMEBREW_PREFIX}",
"--with-zlib=#{HOMEBREW_PREFIX}",
"--with-jpeg=#{HOMEBREW_PREFIX}"]
system "./configure", *args
system "make" # Separate steps or install fails
system "make install"
end
end