f2431e24fb
Closes Homebrew/homebrew#49529. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
22 lines
603 B
Ruby
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.2.1.tar.gz"
|
|
sha256 "a5fd8d698cd536a0746f38c14ded9328373d73dfd23e575a2942f11aa4dc6452"
|
|
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
|