homebrew-core/Formula/node-build.rb
Jason Karns cc8a8ef3e4 node-build 2.3.10
Closes #6115.

Signed-off-by: Zhiming Wang <zmwangx@gmail.com>
2016-10-20 08:40:33 -04:00

22 lines
604 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.3.10.tar.gz"
sha256 "da36f274233449253b426ceff8a1265541374977a800423bc4ede45c8c09552b"
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