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