From 01763557a630ca3ef522752ab900049afae2492a Mon Sep 17 00:00:00 2001 From: Jacob Jewell Date: Sat, 27 Apr 2013 16:30:44 -0400 Subject: snzip 0.9.0 (new formula) Snzip is a command line tool for using snappy. Closes #19476. Signed-off-by: Mike McQuaid --- Library/Formula/snzip.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Library/Formula/snzip.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3