homebrew-core/Formula/google-perftools.rb

16 lines
465 B
Ruby
Raw Normal View History

require 'formula'
2009-10-10 22:39:59 +00:00
class GooglePerftools <Formula
2010-02-27 07:12:53 +00:00
url 'http://google-perftools.googlecode.com/files/google-perftools-1.5.tar.gz'
2009-10-10 22:39:59 +00:00
homepage 'http://code.google.com/p/google-perftools/'
2010-02-27 07:12:53 +00:00
md5 'cab3841f23fb93f8c69aedf60afcc43f'
2009-10-10 22:39:59 +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