aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXu Cheng2014-12-30 21:47:43 +0800
committerMike McQuaid2014-12-30 14:56:57 +0000
commitc9a0d4faf0a5113c9c737d995969ef619e33de20 (patch)
tree3b6e24bb31bfc777d8e71981735db20bea4295ac /Library/Formula
parent3d3d53b0eae1fe8fd6f358f366075ef929285278 (diff)
downloadhomebrew-c9a0d4faf0a5113c9c737d995969ef619e33de20.tar.bz2
libtiff: modernize
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libtiff.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/libtiff.rb b/Library/Formula/libtiff.rb
index 815548ff7..665171447 100644
--- a/Library/Formula/libtiff.rb
+++ b/Library/Formula/libtiff.rb
@@ -1,10 +1,8 @@
-require 'formula'
-
class Libtiff < Formula
- homepage 'http://www.remotesensing.org/libtiff/'
- url 'ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz'
- mirror 'http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz'
- sha256 'ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872'
+ homepage "http://www.remotesensing.org/libtiff/"
+ url "ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz"
+ mirror "http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz"
+ sha256 "ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872"
bottle do
cellar :any
@@ -17,7 +15,7 @@ class Libtiff < Formula
option :universal
option :cxx11
- depends_on 'jpeg'
+ depends_on "jpeg"
def install
ENV.universal_binary if build.universal?
@@ -29,6 +27,6 @@ class Libtiff < Formula
"--disable-lzma",
"--with-jpeg-include-dir=#{jpeg}/include",
"--with-jpeg-lib-dir=#{jpeg}/lib"
- system "make install"
+ system "make", "install"
end
end