class NodeBuild < Formula desc "Install NodeJS versions" homepage "https://github.com/OiNutter/node-build" url "https://github.com/OiNutter/node-build/archive/v2.0.3.tar.gz" sha256 "38ebe2da5911991703d9338ca11b357da6585ceb28d463319c21b32bf3bfc46f" head "https://github.com/OiNutter/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