7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
477 B
Ruby
16 lines
477 B
Ruby
require 'formula'
|
|
|
|
class Tarsnap <Formula
|
|
url 'https://www.tarsnap.com/download/tarsnap-autoconf-1.0.27.tgz'
|
|
homepage 'http://www.tarsnap.com/'
|
|
sha256 'e26dc7c2aa64c17d8063bc61462d1a0f546b56e33b41fbd2fd6925e506c6914f'
|
|
|
|
depends_on 'lzma' => :optional
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--enable-sse2"
|
|
system "make install"
|
|
end
|
|
end
|