homebrew-core/Formula/node-build.rb
Jason Karns 1cad3f02d4 node-build 4.7.0
Created by https://github.com/mislav/bump-homebrew-formula-action

Closes #48514.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
2020-01-03 18:37:11 +00:00

22 lines
543 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.7.0.tar.gz"
sha256 "b6c80c553ab56018a2fb0fade0a848e4051b9003f23c852fec85e524dfa2b776"
head "https://github.com/nodenv/node-build.git"
bottle :unneeded
depends_on "autoconf"
depends_on "openssl@1.1"
depends_on "pkg-config"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
system "#{bin}/node-build", "--definitions"
end
end