blob: 674635cf2c49d8a816b811344fa29a087317d25a (
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-4.0.2.tar.gz'
sha256 'aa29f1f5bfe3f443c3eb4dac472ebde15adc8ff0464b83376f35e3b2fef935da'
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
|