homebrew-core/Formula/node-build.rb
Jason Karns 240e07e977 node-build 2.1.3
Closes Homebrew/homebrew#48379.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-23 12:31:50 +00: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.1.3.tar.gz"
sha256 "50613580cfb4c5a9aea44ac29ce0e4b6412996a91258bf17d118befcc1c86bd8"
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