diff options
| author | Jacob Jewell | 2013-04-27 16:30:44 -0400 |
|---|---|---|
| committer | Mike McQuaid | 2013-08-18 22:20:18 +0100 |
| commit | 01763557a630ca3ef522752ab900049afae2492a (patch) | |
| tree | ccf1a15b161ad0256398953e5d9e109a11ba2378 /Library | |
| parent | fab5c40e308cefd9fbee9903f9540cf911415e03 (diff) | |
| download | homebrew-01763557a630ca3ef522752ab900049afae2492a.tar.bz2 | |
snzip 0.9.0 (new formula)
Snzip is a command line tool for using snappy.
Closes #19476.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/snzip.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/snzip.rb b/Library/Formula/snzip.rb new file mode 100644 index 000000000..7f9e74f36 --- /dev/null +++ b/Library/Formula/snzip.rb @@ -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 |
