homebrew-core/Formula/snzip.rb

21 lines
453 B
Ruby
Raw Normal View History

require 'formula'
class Snzip < Formula
homepage 'https://github.com/kubo/snzip'
url 'https://github.com/downloads/kubo/snzip/snzip-0.9.0.tar.gz'
sha1 '04c02df2cfe80dbe7222dfd6b3e0b0747fdbc024'
depends_on 'snappy'
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
2013-08-18 21:20:11 +00:00
(testpath/'test.out').write "test"
system "snzip", "test.out"
system "snzip", "-d", "test.out.snz"
end
end