added kiwi formula

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* rlwrap is recommended
* only need to pre-create bin
* caveat about where kiwi installs things to
master
Doug Fritz 2010-03-30 22:29:17 -04:00 committed by Adam Vandenberg
parent f8515139b1
commit 42ab0dfb8c
1 changed files with 23 additions and 0 deletions

23
Formula/kiwi.rb Normal file
View File

@ -0,0 +1,23 @@
require 'formula'
class Kiwi <Formula
url 'http://github.com/visionmedia/kiwi/zipball/0.2.2'
homepage 'http://github.com/visionmedia/kiwi'
md5 '7c5291a42f3cc848a3ae5a29b1028eff'
version '0.2.2'
depends_on 'rlwrap' => :recommended
def install
inreplace "Makefile", "/usr/local", "#{prefix}"
bin.mkpath
system "make install"
end
def caveats
<<-EOS.undent
By default, installs libraries to:
~/.node_libraries
EOS
end
end