1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
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 itory'/>