homebrew-core/Formula/snappy.rb
Johan Oskarsson ddc9c784bb snappy 1.0.0
Snappy is a compression/decompression library. It does not aim for
maximum compression, or compatibility with any other compression
library; instead, it aims for very high speeds and reasonable
compression. For instance, compared to the fastest mode of zlib,
Snappy is an order of magnitude faster for most inputs, but the
resulting compressed files are anywhere from 20% to 100% bigger.
On a single core of a Core i7 processor in 64-bit mode, Snappy
compresses at about 250 MB/sec or more and decompresses at about
500 MB/sec or more.

http://code.google.com/p/snappy/

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-22 22:53:15 -07:00

15 lines
382 B
Ruby

require 'formula'
class Snappy < Formula
url 'http://snappy.googlecode.com/files/snappy-1.0.0.tar.gz'
homepage 'http://snappy.googlecode.com'
md5 '9d83bdcf0c79a8de608fa969c2909204'
depends_on 'pkg-config' => :build
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end