homebrew-core/Formula/libgeotiff.rb
Nibbles 2bits 298f5f7b07 libgeotiff 1.3.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-10-29 12:21:26 -07:00

22 lines
640 B
Ruby

require 'formula'
class Libgeotiff < Formula
url 'http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.3.0.tar.gz'
homepage 'http://geotiff.osgeo.org/'
sha1 'b8cde5014cf82fe4683fa35fc81a5ea8d64b940f'
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