homebrew-core/Formula/node-build.rb
Jason Karns df64b0150a
node-build 4.1.0
Closes #34558.

Signed-off-by: Jason Tedor <jason@tedor.me>
2018-11-28 15:15:15 -05:00

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.1.0.tar.gz"
sha256 "c80313dde32c596f5634542a3ccdb536df78c2df2b8c9bf95d978ca65732b840"
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