homebrew-core/Formula/node-build.rb
Jason Karns e012e6c226 node-build 2.4.0
Closes #6758.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-11-09 23:22:06 -08: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.4.0.tar.gz"
sha256 "02aab5d3ab530ec489cfadaa734b6ca664446ce1da4e978e0a475760a91ca19f"
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