homebrew-core/Formula/node-build.rb
Igor Kapkov 954813a74c
node-build 4.0.0
Closes #34204.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2018-11-17 14:06:43 +08: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.0.0.tar.gz"
sha256 "b13404558812df45983d7ea794c4c0468bca1abc0ce0e6fe7b96cf9e44b91d97"
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