homebrew-core/Formula/node-build.rb
Jason Karns 7fa9a49a94 node-build 2.5.3
Closes #8563.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-01-06 20:42:57 +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.3.tar.gz"
sha256 "12d062b36ec478ec327c276fc670d87e2d2ddb5122ac291d0955b3900ff716b3"
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