homebrew-core/Formula/node-build.rb
Jason Karns 9fd4a9458f node-build 2.3.11
Closes #6262.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-10-25 18:36:05 +02: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.11.tar.gz"
sha256 "2522fe504c4429bf19be399456ecf1eb9d8dec5dbfe6bca17f20fa22898d679e"
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