aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/kiwi.rb
blob: a12e0309a97c9488b7de8614daddbe26246ac452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Kiwi <Formula
  url 'http://github.com/visionmedia/kiwi/tarball/0.3.0'
  homepage 'http://github.com/visionmedia/kiwi'
  md5 '84e64c488a69395038d863a1e8767571'

  depends_on 'rlwrap' => :recommended

  def install
    inreplace "Makefile", "/usr/local", "#{prefix}"
    system "make install"
  end

  def caveats
    <<-EOS.undent
    By default, installs libraries to:
      ~/.node_libraries
    EOS
  end
end