summaryrefslogtreecommitdiff
path: root/homebrew/libpulsar/.beer
blob: 13b0194b0826617c057640574e6f80fbba68ebcb (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
{
    "name": "Libpulsar",
    "description": "Apache Pulsar C++ library",
    "url": "https://www.apache.org/dyn/closer.cgi?path=pulsar/pulsar-2.3.1/apache-pulsar-2.3.1-src.tar.gz",
    "mirror": null,
    "homepage": "https://pulsar.apache.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "protobuf",
            "build-depend": false
        },
        {
            "depend": "zstd",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "cd \"pulsar-client-cpp\" do",
        "system \"cmake\", \".\", *std_cmake_args,",
        "\"-DBUILD_TESTS=OFF\",",
        "\"-DBUILD_PYTHON_WRAPPER=OFF\",",
        "\"-DBoost_INCLUDE_DIRS=#{Formula[\"boost\"].include}\",",
        "\"-DProtobuf_INCLUDE_DIR=#{Formula[\"protobuf\"].include}\",",
        "\"-DProtobuf_LIBRARIES=#{Formula[\"protobuf\"].lib}/libprotobuf.dylib\"",
        "system \"make\", \"pulsarShared\", \"pulsarStatic\"",
        "system \"make\", \"install\""
    ],
    "version": "2.3.1",
    "file": "libpulsar.rb"
}