homebrew-core/Formula/node-build.rb
Jason Karns 458197ea56 node-build 2.2.6
Closes #44.
2016-04-04 15:31:06 -07:00

22 lines
603 B
Ruby

class NodeBuild < Formula
desc "Install NodeJS versions"
homepage "https://github.com/nodenv/node-build"
url "https://github.com/nodenv/node-build/archive/v2.2.6.tar.gz"
sha256 "25563f4b593d12fa16468b6f951ca77fe391a1da28fcb32ed804e558318bd647"
head "https://github.com/nodenv/node-build.git"
bottle :unneeded
depends_on "autoconf" => [:recommended, :run]
depends_on "pkg-config" => [:recommended, :run]
depends_on "openssl" => :recommended
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
system "#{bin}/node-build", "--definitions"
end
end