homebrew-core/Formula/node-build.rb
2019-02-26 22:50:39 +01:00

22 lines
539 B
Ruby

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