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