homebrew-core/Formula/tarsnap.rb
Jack Nagel bff2cdf858 tarsnap: use liblzma from the 'xz' package
Rationale: the LZMA toolkit was deprecated by its author, who now
maintains XZUtils. XZ includes liblzma; most other package managers use
this version for Tarsnap (even MacPorts!).

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-27 19:50:58 -05:00

19 lines
546 B
Ruby

require 'formula'
class Tarsnap < Formula
url 'https://www.tarsnap.com/download/tarsnap-autoconf-1.0.30.tgz'
homepage 'http://www.tarsnap.com/'
sha256 'ad663922064a98bce9c085a53ecd83eb839457b49d7cd22cff7c069e9b7e522e'
depends_on 'xz' => :optional
fails_with_llvm "Compilation hangs."
def install
system "./configure", "--disable-dependency-tracking",
"--enable-sse2",
"--prefix=#{prefix}",
"--sysconfdir=#{etc}"
system "make install"
end
end