2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-10 22:39:59 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GooglePerftools < Formula
|
2011-07-22 12:30:54 +00:00
|
|
|
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/'
|
2011-07-22 12:30:54 +00:00
|
|
|
sha1 '9490214967913bd579201a60a25320e316d731a5'
|
2009-10-10 22:39:59 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2326
|
|
|
|
cause "Segfault during linking"
|
|
|
|
end
|
2011-01-22 21:45:20 +00:00
|
|
|
|
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'
|
2011-12-03 17:03:10 +00:00
|
|
|
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
|