libarchive: optional support for xz/lzma
Closes Homebrew/homebrew#28478.
This commit is contained in:
parent
f7d5d67880
commit
4c6e204b47
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,8 @@ class Libarchive < Formula
|
|||
url 'http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz'
|
||||
sha1 '6a991777ecb0f890be931cec4aec856d1a195489'
|
||||
|
||||
depends_on 'xz' => :optional
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
sha1 "0e5d1b4f626533dfa2ff13787c4d43a500f36d93" => :mavericks
|
||||
|
@ -16,7 +18,6 @@ class Libarchive < Formula
|
|||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--without-lzma",
|
||||
"--without-lzo2",
|
||||
"--without-nettle",
|
||||
"--without-xml2"
|
||||
|
|
Loading…
Reference in a new issue