class NodeBuild < Formula desc "Install NodeJS versions" homepage "https://github.com/nodenv/node-build" url "https://github.com/nodenv/node-build/archive/v3.0.9.tar.gz" sha256 "d087f77fc18b38af9a064a4a5e1a43306f3782069b692ccb43ac509e18923fe3" 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