blob: 1b7c8ec43d39e451341a75869adb181f63ea3c39 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 | class Jemalloc < Formula
  homepage "http://www.canonware.com/jemalloc/download.html"
  url "http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2"
  sha1 "40c0892b172e5dc14a6cea6fe4edda7dea4f3a68"
  head "https://github.com/jemalloc/jemalloc.git"
  bottle do
    cellar :any
    revision 1
    sha1 "77d56e4b7c50ca2cc73a1754af347f183f7937bd" => :yosemite
    sha1 "f76be367e982a42544bf1363bf09aed2f868e058" => :mavericks
    sha1 "2e3be2371321580e130762d3392a599a4350c06f" => :mountain_lion
  end
  def install
    system "./configure", "--disable-debug", "--prefix=#{prefix}"
    system "make", "install"
    # This otherwise conflicts with google-perftools
    mv "#{bin}/pprof", "#{bin}/jemalloc-pprof"
  end
end
 |