homebrew-core/Formula/mysqltuner.rb
ilovezfs d22d5ba837 mysqltuner 1.6.18
Closes #4444.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-09-02 08:06:29 -07:00

20 lines
686 B
Ruby

class Mysqltuner < Formula
desc "Increase performance and stability of a MySQL installation"
homepage "http://mysqltuner.com"
url "https://github.com/major/MySQLTuner-perl/archive/1.6.18.tar.gz"
sha256 "ae2b2668198fb78a7685fc4a372bafcef0a91b1dca15d065dae73eeb74bcd6cb"
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