homebrew-core/Formula/node-build.rb
2016-09-28 20:38:48 -04:00

22 lines
603 B
Ruby

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