homebrew-core/Formula/node-build.rb
Jason Karns be9cff4b6d node-build 2.5.8
Closes #10822.

Signed-off-by: JCount <JCount42@gmail.com>
2017-03-09 19:49:37 -05: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.8.tar.gz"
sha256 "043d0380c93d162b42e7ada4049a6c934709ada89fe138cd6c0da24f439ba3e9"
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