class NodeBuild < Formula desc "Install NodeJS versions" homepage "https://github.com/nodenv/node-build" url "https://github.com/nodenv/node-build/archive/v3.0.1.tar.gz" sha256 "4fdf249a559e424ba19c8ff0623ce4657398a27f78fa962e0edf3825f984d46a" head "https://github.com/nodenv/node-build.git" bottle :unneeded depends_on "autoconf" => [:recommended, :run] depends_on "pkg-config" => [:recommended, :run] depends_on "openssl" => :recommended def install ENV["PREFIX"] = prefix system "./install.sh" end test do system "#{bin}/node-build", "--definitions" end end