2bae40ffa3
Closes #31254. Signed-off-by: Jan Viljanen <527069+javian@users.noreply.github.com>
22 lines
588 B
Ruby
22 lines
588 B
Ruby
class NodeBuild < Formula
|
|
desc "Install NodeJS versions"
|
|
homepage "https://github.com/nodenv/node-build"
|
|
url "https://github.com/nodenv/node-build/archive/v3.0.17.tar.gz"
|
|
sha256 "e20fff5ed36eb28c4103f29e49d3172cd55cf7071d57b66ddb519618e4397128"
|
|
head "https://github.com/nodenv/node-build.git"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "autoconf" => :recommended
|
|
depends_on "pkg-config" => :recommended
|
|
depends_on "openssl" => :recommended
|
|
|
|
def install
|
|
ENV["PREFIX"] = prefix
|
|
system "./install.sh"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/node-build", "--definitions"
|
|
end
|
|
end
|