homebrew-core/Formula/node-build.rb
Jason Karns d037300f8b node-build 2.1.1
Closes Homebrew/homebrew#47969.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-12 17:50:15 +08:00

22 lines
609 B
Ruby

class NodeBuild < Formula
desc "Install NodeJS versions"
homepage "https://github.com/OiNutter/node-build"
url "https://github.com/OiNutter/node-build/archive/v2.1.1.tar.gz"
sha256 "3af0c0147c8b69757b69b58f59f8a9d557294759d07ee9145cadb64a87f9505f"
head "https://github.com/OiNutter/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