homebrew-core/Formula/google-perftools.rb

21 lines
536 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
url 'http://google-perftools.googlecode.com/files/google-perftools-1.8.tar.gz'
2009-10-10 22:39:59 +00:00
homepage 'http://code.google.com/p/google-perftools/'
sha1 '9490214967913bd579201a60a25320e316d731a5'
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