homebrew-core/Formula/node-build.rb
Jason Karns 80cbd50a8a
node-build 2.4.1
Closes #7281.

Signed-off-by: William Woodruff <william@tuffbizz.com>
2016-11-27 17:14:39 -05: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.1.tar.gz"
sha256 "ce4d8d622a2bb5ba7e71e5ab6287260cf522334585c77d323862f9bbbc8f1177"
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