summaryrefslogtreecommitdiff
path: root/homebrew/mariadbconnectorc/.beer
blob: 818d01487240ab78d1f65a3c195e47aac66aca47 (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
{
    "name": "MariadbConnectorC",
    "description": "MariaDB database connector for C applications",
    "url": "https://downloads.mariadb.org/f/connector-c-3.0.8/mariadb-connector-c-3.0.8-src.tar.gz",
    "mirror": null,
    "homepage": "https://downloads.mariadb.org/connector-c/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [
        {
            "conflict": "mysql",
            "reason": null
        }
    ],
    "patches": [],
    "install": [
        "args = std_cmake_args",
        "args << \"-DWITH_OPENSSL=On\"",
        "args << \"-DOPENSSL_INCLUDE_DIR=#{Formula[\"openssl\"].opt_include}\"",
        "args << \"-DCOMPILATION_COMMENT=Homebrew\"",
        "system \"cmake\", \".\", *args",
        "system \"make\", \"install\""
    ],
    "version": "3.0.8",
    "file": "mariadb-connector-c.rb"
}