From 55553f8a3017590774fac0bd8c5707e0133b593e Mon Sep 17 00:00:00 2001 From: Sean Russell Date: Thu, 17 Mar 2011 22:05:27 -0400 Subject: [PATCH] wiggle 0.8 Signed-off-by: Adam Vandenberg --- Formula/wiggle.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Formula/wiggle.rb diff --git a/Formula/wiggle.rb b/Formula/wiggle.rb new file mode 100644 index 0000000000..8ef3c148f9 --- /dev/null +++ b/Formula/wiggle.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Wiggle < Formula + url 'http://neil.brown.name/wiggle/wiggle-0.8.tar.gz' + homepage 'http://neil.brown.name/blog/20100324064620' + md5 '17aae004f63791faa4ff1d0e7639131d' + + def install + # Deal with OS X malloc vs stdlib + inreplace "load.c", "#include ", "#include " + inreplace Dir["*.c"], /#include\s+/, "" + + # Avoid running tests + system "make wiggle wiggle.man" + + # Manual install into Homebrew prefix + bin.install "wiggle" + man1.install "wiggle.1" + end +end