homebrew-core/Formula/mysqltuner.rb
Baptiste Fontaine 0b14ced850 mysqltuner 1.7.17
Closes #45124.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-10-11 01:16:36 +02:00

20 lines
730 B
Ruby

class Mysqltuner < Formula
desc "Increase performance and stability of a MySQL installation"
homepage "https://raw.github.com/major/MySQLTuner-perl/master/mysqltuner.pl"
url "https://github.com/major/MySQLTuner-perl/archive/1.7.17.tar.gz"
sha256 "c82f29aa017360ab8888808393bd06e79af6fa447a62908a3b3dddea92b768b5"
head "https://github.com/major/MySQLTuner-perl.git"
bottle :unneeded
def install
bin.install "mysqltuner.pl" => "mysqltuner"
end
# mysqltuner analyzes your database configuration by connecting to a
# mysql server. It is not really feasible to spawn a mysql server
# just for a test case so we'll stick with a rudimentary test.
test do
system "#{bin}/mysqltuner", "--help"
end
end