homebrew-core/Formula/node-build.rb
2016-05-09 14:51:47 +01: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.2.11.tar.gz"
sha256 "bcf139b74528fd881afe5c737a6823eab38ad2e52e6d718e7c6690853e03ef73"
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