homebrew-core/Formula/node-build.rb
Jason Karns 60c9a23d33 node-build 2.5.0
Closes #8167.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-12-23 17:54:03 +01: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.5.0.tar.gz"
sha256 "d55ada37c9fc06231927e899168bfab45062544f303f3c69958787e3df842bf7"
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