aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/webp.rb
diff options
context:
space:
mode:
authorDavid McKeone2013-12-10 15:00:41 -0700
committerAdam Vandenberg2013-12-10 23:01:39 -0800
commitd6e6d8bd980dbd6fa586127e6c0707d12e486d80 (patch)
treee52feee6731bbbec8b0a8aff1ed97e0bc7fc8b88 /Library/Formula/webp.rb
parenta04dbf6130bb87c74c53eafac871dd8bb1dc8711 (diff)
downloadhomebrew-d6e6d8bd980dbd6fa586127e6c0707d12e486d80.tar.bz2
webp: add --universal
Closes #25124. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/webp.rb')
-rw-r--r--Library/Formula/webp.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/webp.rb b/Library/Formula/webp.rb
index 161ba014e..ae2557d0b 100644
--- a/Library/Formula/webp.rb
+++ b/Library/Formula/webp.rb
@@ -5,10 +5,13 @@ class Webp < Formula
url 'https://webp.googlecode.com/files/libwebp-0.3.1.tar.gz'
sha1 '52e3d2b6c0b80319baa33b8ebed89618769d9dd8'
+ option :universal
+
depends_on :libpng
depends_on 'jpeg' => :recommended
def install
+ ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--enable-libwebpmux",
"--enable-libwebpdemux",