summaryrefslogtreecommitdiff
path: root/homebrew/mytop/.beer
blob: 89080756c88e030203f64057d6914588f6b01b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
    "name": "Mytop",
    "description": "Top-like query monitor for MySQL",
    "url": "http://www.mysqlfanboy.com/mytop-3/mytop-1.9.1.tar.gz",
    "mirror": "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/m/mytop/mytop_1.9.1.orig.tar.gz",
    "homepage": "http://www.mysqlfanboy.com/mytop-3/",
    "depends": [
        {
            "depend": "mysql-client",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "List::Util",
            "url": "https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.46.tar.gz"
        },
        {
            "name": "Config::IniFiles",
            "url": "https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.94.tar.gz"
        },
        {
            "name": "DBI",
            "url": "https://cpan.metacpan.org/authors/id/T/TI/TIMB/DBI-1.641.tar.gz"
        },
        {
            "name": "DBD::mysql",
            "url": "https://cpan.metacpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.046.tar.gz"
        }
    ],
    "conflicts": [
        {
            "conflict": "mariadb",
            "reason": "both install `mytop` binaries"
        }
    ],
    "patches": [
        {
            "url": "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/m/mytop/mytop_1.9.1-2.debian.tar.xz",
            "strip": "1"
        }
    ],
    "install": [
        "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"",
        "resources.each do |r|",
        "r.stage do",
        "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"",
        "system \"make\", \"install\""
    ],
    "version": "1.9.1",
    "file": "mytop.rb"
}