2011-02-03 13:45:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jemalloc < Formula
|
|
|
|
homepage 'http://www.canonware.com/jemalloc/download.html'
|
2013-01-26 12:26:30 +00:00
|
|
|
url 'http://www.canonware.com/download/jemalloc/jemalloc-3.3.0.tar.bz2'
|
|
|
|
sha1 'e426b0b8e4f8ef073b90358cb7603e7cbccde895'
|
2011-02-03 13:45:34 +00:00
|
|
|
|
|
|
|
def install
|
2012-11-25 19:08:19 +00:00
|
|
|
system './configure', '--disable-debug', "--prefix=#{prefix}"
|
|
|
|
system 'make install'
|
|
|
|
|
|
|
|
# This otherwise conflicts with google-perftools
|
|
|
|
mv "#{bin}/pprof", "#{bin}/jemalloc-pprof"
|
2011-02-03 13:45:34 +00:00
|
|
|
end
|
|
|
|
end
|