aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libtiff.rb
blob: 599e464585beb6d5396fe4ef451bdf6e8696e920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Libtiff < Formula
  homepage 'http://www.remotesensing.org/libtiff/'
  url 'http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz'
  sha256 'ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872'

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
                          "--without-x",
                          "--prefix=#{prefix}"
    system "make install"
  end
end