homebrew-core/Formula/libtiff.rb

21 lines
528 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libtiff < Formula
homepage 'http://www.remotesensing.org/libtiff/'
url 'http://download.osgeo.org/libtiff/tiff-4.0.1.tar.gz'
sha256 '9a7a039e516c37478038740f1642818250bfb1414cf404cc8b569e5f9d4bf2f0'
depends_on :x11
def options
[["--universal", "Builds a universal binary"]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end