2011-03-23 05:50:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Snappy < Formula
|
|
|
|
homepage 'http://snappy.googlecode.com'
|
2013-10-17 02:23:15 +00:00
|
|
|
url 'https://snappy.googlecode.com/files/snappy-1.1.1.tar.gz'
|
|
|
|
sha1 '2988f1227622d79c1e520d4317e299b61d042852'
|
2011-03-23 05:50:53 +00:00
|
|
|
|
2013-11-07 11:29:14 +00:00
|
|
|
bottle do
|
2013-12-05 05:19:20 +00:00
|
|
|
cellar :any
|
|
|
|
revision 1
|
|
|
|
sha1 '3d55ae60e55bef5a27a96d7b1b27f671935288a9' => :mavericks
|
|
|
|
sha1 '7a26958f44511136965ae2b306ae79efddd4b44f' => :mountain_lion
|
|
|
|
sha1 'e5e3f3b4f0227910851fcc832aea0f2b7b5f2292' => :lion
|
2013-11-07 11:29:14 +00:00
|
|
|
end
|
|
|
|
|
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
|