diff options
Diffstat (limited to 'Library/Formula/dmalloc.rb')
| -rw-r--r-- | Library/Formula/dmalloc.rb | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/dmalloc.rb b/Library/Formula/dmalloc.rb new file mode 100644 index 000000000..f0d52d419 --- /dev/null +++ b/Library/Formula/dmalloc.rb @@ -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  | 
