summaryrefslogtreecommitdiff
path: root/homebrew/libxmlsec1/.beer
blob: cfee2d805d25bf2b24aed0774d054bce5db1df26 (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
57
58
59
60
61
{
    "name": "Libxmlsec1",
    "description": "XML security library",
    "url": "https://www.aleksey.com/xmlsec/download/xmlsec1-1.2.27.tar.gz",
    "mirror": null,
    "homepage": "https://www.aleksey.com/xmlsec/",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "gnutls",
            "build-depend": false
        },
        {
            "depend": "libgcrypt",
            "build-depend": false
        },
        {
            "depend": "libxml2",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "diff --git a/src/dl.c b/src/dl.c\n",
                "index 6e8a56a..0e7f06b 100644\n",
                "--- a/src/dl.c\n",
                "+++ b/src/dl.c\n",
                "@@ -141,6 +141,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {\n",
                "     }\n",
                "\n",
                " #ifdef XMLSEC_DL_LIBLTDL\n",
                "+    lt_dlsetsearchpath(\"HOMEBREW_PREFIX/lib\");\n",
                "     lib->handle = lt_dlopenext((char*)lib->filename);\n",
                "     if(lib->handle == NULL) {\n",
                "         xmlSecError(XMLSEC_ERRORS_HERE,\n"
            ]
        }
    ],
    "install": [
        "args = [\"--disable-dependency-tracking\",",
        "\"--prefix=#{prefix}\",",
        "\"--disable-crypto-dl\",",
        "\"--disable-apps-crypto-dl\",",
        "\"--with-openssl=#{Formula[\"openssl\"].opt_prefix}\"]",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "1.2.27",
    "file": "libxmlsec1.rb"
}