homebrew-core/Formula/node-build.rb
Jason Karns e33074ef6c node-build 4.2.0
Closes #35249.

Signed-off-by: Jan Viljanen <527069+javian@users.noreply.github.com>
2018-12-19 07:24:11 +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.2.0.tar.gz"
sha256 "f2d3ef2adb9c4ab7fa128170c8123ae48bcb1d09cb2af079c9df8db763f388a4"
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