summaryrefslogtreecommitdiff
path: root/homebrew/openconnect/.beer
blob: 1b834dff058d7c92ad687271060407d52572a149 (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
62
63
{
    "name": "Openconnect",
    "description": "Open client for Cisco AnyConnect VPN",
    "url": "ftp://ftp.infradead.org/pub/openconnect/openconnect-8.02.tar.gz",
    "mirror": "https://fossies.org/linux/privat/openconnect-8.02.tar.gz",
    "homepage": "https://www.infradead.org/openconnect/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "gettext",
            "build-depend": false
        },
        {
            "depend": "gnutls",
            "build-depend": false
        },
        {
            "depend": "stoken",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "vpnc-script",
            "url": "http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/1000e0f6dd7d6bff163169a46359211c1fc3a6d2:/vpnc-script"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "etc.install resource(\"vpnc-script\")",
        "chmod 0755, \"#{etc}/vpnc-script\"",
        "if build.head?",
        "ENV[\"LIBTOOLIZE\"] = \"glibtoolize\"",
        "system \"./autogen.sh\"",
        "end",
        "args = %W[",
        "--prefix=#{prefix}",
        "--sbindir=#{bin}",
        "--localstatedir=#{var}",
        "--with-vpnc-script=#{etc}/vpnc-script",
        "]",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "8.02",
    "file": "openconnect.rb"
}