From f8f2f43c44697b056c7a1dc9d8a6d376d05f3b17 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 30 Jan 2012 19:09:17 -0600 Subject: 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 --- Library/Formula/little-cms.rb | 3 +++ Library/Formula/little-cms2.rb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3