mytop 1.9.1
Closes Homebrew/homebrew#39171. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
0030272ad8
commit
a053e79b89
1 changed files with 10 additions and 11 deletions
|
@ -1,21 +1,16 @@
|
|||
require "formula"
|
||||
|
||||
class Mytop < Formula
|
||||
homepage "http://jeremy.zawodny.com/mysql/mytop/"
|
||||
url "http://jeremy.zawodny.com/mysql/mytop/mytop-1.6.tar.gz"
|
||||
sha1 "e1485115ca3a15e79f7811bdc1cfe692aa95833f"
|
||||
homepage "http://www.mysqlfanboy.com/mytop-3/"
|
||||
url "http://www.mysqlfanboy.com/mytop-3/mytop-1.9.1.tar.gz"
|
||||
mirror "https://mirrors.kernel.org/debian/pool/main/m/mytop/mytop_1.9.1.orig.tar.gz"
|
||||
sha256 "179d79459d0013ab9cea2040a41c49a79822162d6e64a7a85f84cdc44828145e"
|
||||
|
||||
depends_on :mysql
|
||||
depends_on "openssl"
|
||||
|
||||
resource "DBD::mysql" do
|
||||
url "http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz"
|
||||
mirror "http://search.mcpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz"
|
||||
sha1 "3bf1edd6f0b4f6144b2aaa715c80df3fb1cd2119"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://github.com/jzawodn/mytop/commit/437f2ef8d3fce02eafe935ddbf860d1dfbc43f7d.diff"
|
||||
sha1 "e0272696da8f21988f452805eeef2717ea663d43"
|
||||
sha256 "2e00f1eb5822aa097b310203ff611dd635f9d000db9df7ce1e8b0493c082be41"
|
||||
end
|
||||
|
||||
def install
|
||||
|
@ -30,4 +25,8 @@ class Mytop < Formula
|
|||
system "make", "test", "install"
|
||||
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"])
|
||||
end
|
||||
|
||||
test do
|
||||
shell_output("#{bin}/mytop", 1)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue