dmalloc 5.5.2

Closes Homebrew/homebrew#21876.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jørgen P. Tjernø 2013-08-13 12:29:45 -07:00 committed by Adam Vandenberg
parent 11c117693b
commit 6f80f9a1c1

16
Formula/dmalloc.rb Normal file
View file

@ -0,0 +1,16 @@
require 'formula'
class Dmalloc < Formula
homepage 'http://dmalloc.com'
url 'http://dmalloc.com/releases/dmalloc-5.5.2.tgz'
sha1 '20719de78decbd724bc3ab9d6dce2ea5e5922335'
def install
system "./configure", "--enable-threads", "--prefix=#{prefix}"
system "make", "install", "installth", "installcxx", "installthcxx"
end
test do
system "#{bin}/dmalloc", "-b", "runtime"
end
end