From e565f11c9f2b0cbbd85ac6097ac77e1595e52202 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Nov 2014 14:35:08 -0600 Subject: libzzip: update sdl option --- Library/Formula/libzzip.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libzzip.rb b/Library/Formula/libzzip.rb index 674f8c384..531c8df4f 100644 --- a/Library/Formula/libzzip.rb +++ b/Library/Formula/libzzip.rb @@ -13,11 +13,13 @@ class Libzzip < Formula sha1 "986d13aa3974d0b7c2621a8447f1aad640f11d92" => :mountain_lion end - option 'sdl', 'Enable SDL usage and create SDL_rwops_zzip.pc' + option 'with-sdl', 'Enable SDL usage and create SDL_rwops_zzip.pc' option :universal + deprecated_option "sdl" => "with-sdl" + depends_on 'pkg-config' => :build - depends_on 'sdl' if build.include? 'sdl' + depends_on 'sdl' => :optional conflicts_with 'zzuf', :because => 'both install `zzcat` binaries' @@ -33,7 +35,7 @@ class Libzzip < Formula --disable-dependency-tracking --prefix=#{prefix} ] - args << '--enable-sdl' if build.include? 'sdl' + args << "--enable-sdl" if build.with? "sdl" system './configure', *args system 'make install' ENV.deparallelize # fails without this when a compressed file isn't ready -- cgit v1.2.3