homebrew-core/Formula/google-sparsehash.rb

17 lines
459 B
Ruby

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'
option :cxx11
def install
ENV.cxx11 if build.cxx11?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make check"
system "make install"
end
end