wiggle 0.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
4e59b8ed68
commit
55553f8a30
1 changed files with 20 additions and 0 deletions
20
Formula/wiggle.rb
Normal file
20
Formula/wiggle.rb
Normal 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
|
Loading…
Reference in a new issue