homebrew-core/Formula/node-build.rb
Jason Karns 4bd3e55d39
node-build 4.4.0
Closes #36108.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-01-17 15:12:23 +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.4.0.tar.gz"
sha256 "66f1437dddacb8023e40127009ba99b3d6c4be3d890f287947163b323008abf0"
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