homebrew-core/Formula/google-perftools.rb
Jack Nagel 43518e78aa gperftools 2.0
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-28 12:18:28 -05:00

21 lines
575 B
Ruby

require 'formula'
class GooglePerftools < Formula
# TODO rename to gperftools when renames are supported
homepage 'http://code.google.com/p/gperftools/'
url 'http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz'
sha1 'da7181a7ba9b5ee7302daf6c16e886c179fe8d1b'
fails_with :llvm do
build 2326
cause "Segfault during linking"
end
def install
ENV.append_to_cflags '-D_XOPEN_SOURCE'
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end