homebrew-core/Formula/node-build.rb
2019-11-07 19:39:25 -05: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.7.tar.gz"
sha256 "408416cb092873eac644f1473de2bdea779e90196823ccfecf095eb069cf65f7"
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