summaryrefslogtreecommitdiff
path: root/data/mariadb/.beer
blob: 4524866cfc29d7e07371c93177acaf0e854cc620 (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
{
    "name": "Mariadb",
    "description": "Drop-in replacement for MySQL",
    "url": "https://downloads.mariadb.org/f/mariadb-10.3.14/source/mariadb-10.3.14.tar.gz",
    "mirror": null,
    "homepage": "https://mariadb.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [
        {
            "conflict": "mysql",
            "reason": null
        },
        {
            "conflict": "mysql-connector-c",
            "reason": null
        },
        {
            "conflict": "mytop",
            "reason": "both install `mytop` binaries"
        },
        {
            "conflict": "mariadb-connector-c",
            "reason": null
        }
    ],
    "patches": [],
    "install": [
        "(var/\"mysql\").mkpath",
        "unless File.exist? \"#{var}/mysql/mysql/user.frm\"",
        "ENV[\"TMPDIR\"] = nil",
        "system \"#{bin}/mysql_install_db\", \"--verbose\", \"--user=#{ENV[\"USER\"]}\",",
        "\"--basedir=#{prefix}\", \"--datadir=#{var}/mysql\", \"--tmpdir=/tmp\""
    ],
    "version": "10.3.14",
    "file": "mariadb.rb"
}