aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libev.rb
blob: c8551f664500d96c56ead667ce05c1862ef3bf4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'formula'

class Libev < Formula
  homepage 'http://software.schmorp.de/pkg/libev.html'
  url 'http://dist.schmorp.de/libev/Attic/libev-4.11.tar.gz'
  sha1 'e7752a518742c0f8086a8005aa7efcc4dcf02ed9'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"
  end
end
class="no">You can install using Homebrew: brew install node If you are installing the --HEAD version of CoffeeScript, you may need the --HEAD version of node: brew install --HEAD node EOS end def satisified? Formula.factory("node").installed? or which('node') end def fatal? true end end class CoffeeScript < Formula url 'http://github.com/jashkenas/coffee-script/tarball/1.2.0' head 'https://github.com/jashkenas/coffee-script.git' homepage 'http://jashkenas.github.com/coffee-script/' md5 '5dfc3ee21214f1b7e86c0535f5386a35' depends_on NodeRequired.new def install bin.mkpath system "./bin/cake", "--prefix", prefix, "install" end def caveats; <<-EOS.undent coffee-script can also be installed via npm with: npm install coffee-script This has the advantage of supporting multiple versions of Node libs at the same time. EOS end end