homebrew-core/Formula/node-build.rb
Jason Karns 6f88a6e7f7
node-build 4.6.2
Closes #42722.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-08-03 07:28:50 +08:00

22 lines
539 B
Ruby

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