libarchive: optional support for xz/lzma

Closes Homebrew/homebrew#28478.
This commit is contained in:
Adam Vandenberg 2014-04-24 21:02:25 -07:00
parent f7d5d67880
commit 4c6e204b47

View file

@ -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"