webp: add extra optional dependencies

Closes Homebrew/homebrew#28619.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
Bennett Blodinger 2014-04-22 16:00:07 -04:00 committed by Misty De Meo
parent c7b5dc336c
commit 6c3d632d1a

View file

@ -11,6 +11,8 @@ class Webp < Formula
depends_on 'libpng'
depends_on 'jpeg' => :recommended
depends_on 'libtiff' => :optional
depends_on 'giflib' => :optional
def install
ENV.universal_binary if build.universal?