aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-01-30 19:09:17 -0600
committerJack Nagel2012-01-30 19:12:26 -0600
commitf8f2f43c44697b056c7a1dc9d8a6d376d05f3b17 (patch)
treed6860ffef1d8928753a0c74d25aeb2ded94161cc /Library
parent188015423a9128aab4a8218de384b771b7bf0aca (diff)
downloadhomebrew-f8f2f43c44697b056c7a1dc9d8a6d376d05f3b17.tar.bz2
lcms and lcms2: add optional deps on jpeg and tiff
These things are picked up if they are installed, and as they are pretty lightweight we may as well mark them as optional deps. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/little-cms.rb3
-rw-r--r--Library/Formula/little-cms2.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/little-cms.rb b/Library/Formula/little-cms.rb
index 25776f992..b722c076b 100644
--- a/Library/Formula/little-cms.rb
+++ b/Library/Formula/little-cms.rb
@@ -6,6 +6,9 @@ class LittleCms < Formula
homepage 'http://www.littlecms.com/'
md5 '8af94611baf20d9646c7c2c285859818'
+ depends_on 'jpeg' => :optional
+ depends_on 'libtiff' => :optional
+
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug"
system "make install"
diff --git a/Library/Formula/little-cms2.rb b/Library/Formula/little-cms2.rb
index b6af2249d..dd7ce8811 100644
--- a/Library/Formula/little-cms2.rb
+++ b/Library/Formula/little-cms2.rb
@@ -5,6 +5,9 @@ class LittleCms2 < Formula
homepage 'http://www.littlecms.com/'
md5 '327348d67c979c88c2dec59a23a17d85'
+ depends_on 'jpeg' => :optional
+ depends_on 'libtiff' => :optional
+
def install
system "./configure", "--prefix=#{prefix}"
system "make install"