snzip 0.9.0 (new formula)
Snzip is a command line tool for using snappy. Closes Homebrew/homebrew#19476. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
e52c87906c
commit
87c0a8e4f2
1 changed files with 18 additions and 0 deletions
18
Formula/snzip.rb
Normal file
18
Formula/snzip.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
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
|
||||
system "snzip", "-h"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue