homebrew-core/Formula/node-build.rb
2019-04-24 10:45:11 +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.5.0.tar.gz"
sha256 "1bdb9a208a6ca0c59c2d0d14eb23e9a5d33b7cbc5bb0cc80e790857d5c5964ac"
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