homebrew-core/Formula/google-perftools.rb

22 lines
575 B
Ruby
Raw Normal View History

require 'formula'
2009-10-10 22:39:59 +00:00
2011-03-10 05:11:03 +00:00
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'
2009-10-10 22:39:59 +00:00
fails_with :llvm do
build 2326
cause "Segfault during linking"
end
2011-03-21 21:24:22 +00:00
def install
2010-02-27 07:12:53 +00:00
ENV.append_to_cflags '-D_XOPEN_SOURCE'
system "./configure", "--disable-dependency-tracking",
2010-02-27 07:12:53 +00:00
"--prefix=#{prefix}"
2009-10-10 22:39:59 +00:00
system "make"
system "make install"
end
end