homebrew-core/Formula/node-build.rb
2019-10-26 12:06:03 -04: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.6.5.tar.gz"
sha256 "89726dd3e801145532bf291057f13134ec4aa69c521d78f520ff8c59fc575afa"
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