e33074ef6c
Closes #35249. Signed-off-by: Jan Viljanen <527069+javian@users.noreply.github.com>
22 lines
539 B
Ruby
22 lines
539 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.2.0.tar.gz"
|
|
sha256 "f2d3ef2adb9c4ab7fa128170c8123ae48bcb1d09cb2af079c9df8db763f388a4"
|
|
head "https://github.com/nodenv/node-build.git"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "autoconf"
|
|
depends_on "openssl"
|
|
depends_on "pkg-config"
|
|
|
|
def install
|
|
ENV["PREFIX"] = prefix
|
|
system "./install.sh"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/node-build", "--definitions"
|
|
end
|
|
end
|