2011-03-23 05:50:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Snappy < Formula
|
|
|
|
homepage 'http://snappy.googlecode.com'
|
2013-02-15 19:29:43 +00:00
|
|
|
url 'http://snappy.googlecode.com/files/snappy-1.1.0.tar.gz'
|
|
|
|
sha1 '17cde387e0f19112d647095624e5ed4051b753be'
|
2011-03-23 05:50:53 +00:00
|
|
|
|
2012-08-10 05:16:46 +00:00
|
|
|
option :universal
|
2011-03-23 05:50:53 +00:00
|
|
|
|
2012-08-10 05:16:46 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-07-18 18:50:25 +00:00
|
|
|
|
2011-03-23 05:50:53 +00:00
|
|
|
def install
|
2012-08-10 05:16:46 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2011-03-23 05:50:53 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|