homebrew-core/Formula/node-build.rb
2018-10-02 08:13:01 +02:00

22 lines
540 B
Ruby

class NodeBuild < Formula
desc "Install NodeJS versions"
homepage "https://github.com/nodenv/node-build"
url "https://github.com/nodenv/node-build/archive/v3.0.19.tar.gz"
sha256 "a6b037e502607cb0ed686829c8ddb56536e7ae449f055e8d27bfe80b1c0dea6e"
head "https://github.com/nodenv/node-build.git"
bottle :unneeded
depends_on "autoconf"
depends_on "openssl"
depends_on "pkg-config"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
system "#{bin}/node-build", "--definitions"
end
end