homebrew-core/Formula/libtiff.rb
nibbles 2bits f79494e152 libtiff 4.0.1
Upgrade libtiff to version 4.0.1.
Add ENV.x11 so it can find GL/gl.h.
Remove the apple-opengl flag. It doesn't exist and is the default.
Remove the mandir flag.  It gets the directory correct.

Libtiff-4.0.1 is the new stable version.  Testing was done by
building several programs that use it, including lcms, lcms2,
gdk-pixbuf, imagemagick, openjpeg, and openimageio.  Runtime tests
using the oiio testsuite and imagemagick's identify confirm the
library's functionality.

Closes Homebrew/homebrew#12029.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-05-04 11:55:43 -07:00

19 lines
575 B
Ruby

require 'formula'
class Libtiff < Formula
homepage 'http://www.remotesensing.org/libtiff/'
url 'http://download.osgeo.org/libtiff/tiff-4.0.1.tar.gz'
sha256 '9a7a039e516c37478038740f1642818250bfb1414cf404cc8b569e5f9d4bf2f0'
def options
[["--universal", "Builds a universal binary"]]
end
def install
ENV.x11 # Needed to pick up GL/gL.h, otherwise compile error.
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end