summaryrefslogtreecommitdiff
path: root/homebrew/ekg2/.beer
blob: 28b1a8f717321920cd66c24e21d2992e89eb362c (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
    "name": "Ekg2",
    "description": "Multiplatform, multiprotocol, plugin-based instant messenger",
    "url": "https://src.fedoraproject.org/lookaside/extras/ekg2/ekg2-0.3.1.tar.gz/68fc05b432c34622df6561eaabef5a40/ekg2-0.3.1.tar.gz",
    "mirror": "https://web.archive.org/web/20161227025528/pl.ekg2.org/ekg2-0.3.1.tar.gz",
    "homepage": "https://github.com/ekg2/ekg2",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "readline",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "diff --git a/compat/strlcat.c b/compat/strlcat.c\n",
                "index 6077d66..c1c1804 100644\n",
                "--- a/compat/strlcat.c\n",
                "+++ b/compat/strlcat.c\n",
                "@@ -14,7 +14,7 @@\n",
                "  *  License along with this program; if not, write to the Free Software\n",
                "  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n",
                "  */\n",
                "-\n",
                "+#ifndef strlcat\n",
                " #include <sys/types.h>\n",
                "\n",
                " size_t strlcat(char *dst, const char *src, size_t size)\n",
                "@@ -39,7 +39,7 @@ size_t strlcat(char *dst, const char *src, size_t size)\n",
                "\n",
                "\treturn dlen + j;\n",
                " }\n",
                "-\n",
                "+#endif\n",
                " /*\n",
                "  * Local Variables:\n",
                "  * mode: c\n",
                "diff --git a/compat/strlcat.h b/compat/strlcat.h\n",
                "index cb91fcb..df8f4b0 100644\n",
                "--- a/compat/strlcat.h\n",
                "+++ b/compat/strlcat.h\n",
                "@@ -1,7 +1,8 @@\n",
                "+#ifndef strlcat\n",
                " #include <sys/types.h>\n",
                "\n",
                " size_t strlcat(char *dst, const char *src, size_t size);\n",
                "-\n",
                "+#endif\n",
                " /*\n",
                "  * Local Variables:\n",
                "  * mode: c\n",
                "diff --git a/compat/strlcpy.c b/compat/strlcpy.c\n",
                "index 31e41bd..4a40762 100644\n",
                "--- a/compat/strlcpy.c\n",
                "+++ b/compat/strlcpy.c\n",
                "@@ -14,7 +14,7 @@\n",
                "  *  License along with this program; if not, write to the Free Software\n",
                "  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n",
                "  */\n",
                "-\n",
                "+#ifndef strlcpy\n",
                " #include <sys/types.h>\n",
                "\n",
                " size_t strlcpy(char *dst, const char *src, size_t size)\n",
                "@@ -32,7 +32,7 @@ size_t strlcpy(char *dst, const char *src, size_t size)\n",
                "\n",
                "\treturn i;\n",
                " }\n",
                "-\n",
                "+#endif\n",
                " /*\n",
                "  * Local Variables:\n",
                "  * mode: c\n",
                "diff --git a/compat/strlcpy.h b/compat/strlcpy.h\n",
                "index 1c80e20..93340af 100644\n",
                "--- a/compat/strlcpy.h\n",
                "+++ b/compat/strlcpy.h\n",
                "@@ -1,7 +1,8 @@\n",
                "+#ifndef strlcpy\n",
                " #include <sys/types.h>\n",
                "\n",
                " size_t strlcpy(char *dst, const char *src, size_t size);\n",
                "-\n",
                "+#endif\n",
                " /*\n",
                "  * Local Variables:\n",
                "  * mode: c\n"
            ]
        }
    ],
    "install": [
        "readline = Formula[\"readline\"].opt_prefix",
        "args = %W[",
        "--disable-debug",
        "--disable-dependency-tracking",
        "--prefix=#{prefix}",
        "--enable-unicode",
        "--with-readline=#{readline}",
        "--without-gtk",
        "--without-libgadu",
        "--without-perl",
        "--without-python",
        "]",
        "system \"./configure\", *args",
        "system \"make\", \"install\""
    ],
    "version": "0.3.1",
    "file": "ekg2.rb"
}