aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJacob Jewell2013-04-27 16:30:44 -0400
committerMike McQuaid2013-08-18 22:20:18 +0100
commit01763557a630ca3ef522752ab900049afae2492a (patch)
treeccf1a15b161ad0256398953e5d9e109a11ba2378 /Library
parentfab5c40e308cefd9fbee9903f9540cf911415e03 (diff)
downloadhomebrew-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.rb18
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