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
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm "Segfault during linking", :build => 2326
|
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'
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-10-10 22:39:59 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|