require 'formula'

class Tarsnap < Formula
  url 'https://www.tarsnap.com/download/tarsnap-autoconf-1.0.29.tgz'
  homepage 'http://www.tarsnap.com/'
  sha256 '747510459e4af0ebbb6e267c159aa019f9337d1e07bd9a94f1aa1498081b7598'

  depends_on 'lzma' => :optional

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-sse2"
    system "make install"
  end
end

require 'formula'

class Tarsnap < Formula
  url 'https://www.tarsnap.com/download/tarsnap-autoconf-1.0.29.tgz'
  homepage 'http://www.tarsnap.com/'
  sha256 '747510459e4af0ebbb6e267c159aa019f9337d1e07bd9a94f1aa1498081b7598'

  depends_on 'lzma' => :optional

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end

Remove --enable-sse2 and --disable-debug flags
Tarsnap: Remove --enable-sse2 and --disable-debug flags

* The --enable-sse2 flag causes the compile to hang when the
  llvm-gcc compiler that comes with Xcode 4 is used.
* The configure script doesn't recognize the --disable-debug option

Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
