homebrew-core/Formula/ruby-build.rb
Erik Nilsen 1ac9e40c8c ruby-build: fix audit
Closes Homebrew/homebrew#48776.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-03 14:45:40 +01:00

23 lines
630 B
Ruby

class RubyBuild < Formula
desc "Install various Ruby versions and implementations"
homepage "https://github.com/rbenv/ruby-build"
url "https://github.com/rbenv/ruby-build/archive/v20160130.tar.gz"
sha256 "9f64d81252a08ad95a6e3a66c07e0f3be127a70a742da526bdf42b501304b547"
head "https://github.com/rbenv/ruby-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}/ruby-build", "--definitions"
end
end