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