wiggle 0.8

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Sean Russell 2011-03-17 22:05:27 -04:00 committed by Adam Vandenberg
parent 4e59b8ed68
commit 55553f8a30

20
Formula/wiggle.rb Normal file
View file

@ -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 <malloc.h>", "#include <stdlib.h>"
inreplace Dir["*.c"], /#include\s+<malloc\.h>/, ""
# Avoid running tests
system "make wiggle wiggle.man"
# Manual install into Homebrew prefix
bin.install "wiggle"
man1.install "wiggle.1"
end
end