summaryrefslogtreecommitdiff
path: root/homebrew/libssh2/.beer
blob: 2fdeeadf2904094f3056bd900905b97f2cb5b15b (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": "Libssh2",
    "description": "C library implementing the SSH2 protocol",
    "url": "https://libssh2.org/download/libssh2-1.8.2.tar.gz",
    "mirror": null,
    "homepage": "https://libssh2.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = %W[",
        "--prefix=#{prefix}",
        "--disable-debug",
        "--disable-dependency-tracking",
        "--disable-silent-rules",
        "--disable-examples-build",
        "--with-openssl",
        "--with-libz",
        "--with-libssl-prefix=#{Formula[\"openssl\"].opt_prefix}",
        "]",
        "system \"./buildconf\" if build.head?",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "1.8.2",
    "file": "libssh2.rb"
}