diff options
| author | Jack Nagel | 2012-01-30 19:09:17 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-30 19:12:26 -0600 |
| commit | f8f2f43c44697b056c7a1dc9d8a6d376d05f3b17 (patch) | |
| tree | d6860ffef1d8928753a0c74d25aeb2ded94161cc /Library | |
| parent | 188015423a9128aab4a8218de384b771b7bf0aca (diff) | |
| download | homebrew-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.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/little-cms2.rb | 3 |
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" |
