homebrew-core/Formula/node-build.rb
Jason Karns 15d210c8bf node-build 2.6.0
Closes #13930.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2017-05-25 19:17:25 -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.6.0.tar.gz"
sha256 "dd55a2a14ec63122774d8f6e8ac10b0262c263782c77542ee18ed31dc768ded7"
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