blob: 38a7f8edbf9059e46d2eff27a24e7bc630609963 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Libtiff < Formula
homepage 'http://www.remotesensing.org/libtiff/'
url 'http://download.osgeo.org/libtiff/tiff-3.9.5.zip'
sha256 '332d1a658340c41791fce62fb8fff2a5ba04c2e82b8b85e741eb0a7b30e0d127'
def options
[["--universal", "Builds a universal binary"]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--with-apple-opengl-framework"
system "make install"
end
end
|