homebrew-core/Formula/node-build.rb
2019-09-01 18:40:35 +02: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.3.tar.gz"
sha256 "c6edca61093d9dd73f58e7249394a03fa400ca99771107f339790f8889eb3f45"
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