summaryrefslogtreecommitdiff
path: root/homebrew/libu2fserver/.beer
blob: 96a9da067745caa9ecfdbfdc059b796e72b11ce8 (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
{
    "name": "Libu2fServer",
    "description": "Server-side of the Universal 2nd Factor (U2F) protocol",
    "url": "https://developers.yubico.com/libu2f-server/Releases/libu2f-server-1.1.0.tar.xz",
    "mirror": null,
    "homepage": "https://developers.yubico.com/libu2f-server/",
    "depends": [
        {
            "depend": "check",
            "build-depend": true
        },
        {
            "depend": "gengetopt",
            "build-depend": true
        },
        {
            "depend": "help2man",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "json-c",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV[\"LIBSSL_LIBS\"] = \"-lssl -lcrypto -lz\"",
        "ENV[\"LIBCRYPTO_LIBS\"] = \"-lcrypto -lz\"",
        "ENV[\"PKG_CONFIG\"] = \"#{Formula[\"pkg-config\"].opt_bin}/pkg-config\"",
        "system \"./configure\", \"--prefix=#{prefix}\"",
        "system \"make\", \"install\""
    ],
    "version": "1.1.0",
    "file": "libu2f-server.rb"
}