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