aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen P. Tjernø2013-08-13 12:29:45 -0700
committerAdam Vandenberg2013-08-15 10:04:04 -0700
commit988a943efb7183bd81bc7591d903747cbf2078df (patch)
tree13791a0b6d892e295d850126f7e5d08f403f1243
parent7b7fc3357b4bf088f280529d33030bf90660c3f0 (diff)
downloadhomebrew-988a943efb7183bd81bc7591d903747cbf2078df.tar.bz2
dmalloc 5.5.2
Closes #21876. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/dmalloc.rb16
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