homebrew-core/Formula/mysqltuner.rb
Arne Jørgensen 49fb3daad1 mysqltuner 1.4.0 (new formula)
References Homebrew/homebrew#7365.
Closes Homebrew/homebrew#37739.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-15 17:41:36 +00:00

17 lines
598 B
Ruby

class Mysqltuner < Formula
homepage "http://mysqltuner.com"
url "https://github.com/major/MySQLTuner-perl/archive/v1.4.0.tar.gz"
sha256 "8d5a03b64da2164c6bd93b79700c93db088a14155bcc8cb63c65d049909d793e"
head "https://github.com/major/MySQLTuner-perl.git"
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