homebrew-core/Formula/node-build.rb
2019-05-30 16:04:56 +02: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.6.0.tar.gz"
sha256 "64108f5836beeaac5314813d62a36daab289207fbecc40fb5b998cac4bb2cb0b"
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