From 7cb956b4629d34c3089fb02125e048d635c20684 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Mon, 26 Jan 2015 10:32:20 -0800 Subject: google-sparsehash: add option without-check. - Change single quotes to double quotes. - Change homepage protocol to https. Closes #36239. Signed-off-by: Mike McQuaid --- Library/Formula/google-sparsehash.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/google-sparsehash.rb b/Library/Formula/google-sparsehash.rb index ed5a935df..5977fecb0 100644 --- a/Library/Formula/google-sparsehash.rb +++ b/Library/Formula/google-sparsehash.rb @@ -1,11 +1,10 @@ -require 'formula' - class GoogleSparsehash < Formula - homepage 'http://code.google.com/p/google-sparsehash/' - url 'https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz' - sha1 '12c7552400b3e20464b3362286653fc17366643e' + homepage "https://code.google.com/p/google-sparsehash/" + url "https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz" + sha1 "12c7552400b3e20464b3362286653fc17366643e" option :cxx11 + option "without-check", "Skip build-time tests (not recommended)" # Patch from upstream issue: https://code.google.com/p/sparsehash/issues/detail?id=99 patch do @@ -17,7 +16,7 @@ class GoogleSparsehash < Formula ENV.cxx11 if build.cxx11? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make check" - system "make install" + system "make", "check" if build.with? "check" + system "make", "install" end end -- cgit v1.2.3