aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/kiwi.rb
blob: 06c9d77e8dbfcd2eb9ca1da00466d5ebb6adde02 (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.2.3'
  homepage 'http://github.com/visionmedia/kiwi'
  md5 'a6ad119593d5817730f57f5aa53e73cf'

  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