libzzip: update sdl option
This commit is contained in:
parent
afd80f008c
commit
82d4486e3b
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue