homebrew-core/Formula/snappy.rb

19 lines
457 B
Ruby
Raw Normal View History

require 'formula'
class Snappy < Formula
homepage 'http://snappy.googlecode.com'
url 'http://snappy.googlecode.com/files/snappy-1.1.0.tar.gz'
sha1 '17cde387e0f19112d647095624e5ed4051b753be'
2012-08-10 05:16:46 +00:00
option :universal
2012-08-10 05:16:46 +00:00
depends_on 'pkg-config' => :build
def install
2012-08-10 05:16:46 +00:00
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end