summaryrefslogtreecommitdiff
path: root/homebrew/winexe/.beer
blob: e409bd226f3a61c6a3a2e99430499e1a75c668fa (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
{
    "name": "Winexe",
    "description": "Remote Windows-command executor",
    "url": "https://downloads.sourceforge.net/project/winexe/winexe-1.00.tar.gz",
    "mirror": null,
    "homepage": "https://sourceforge.net/projects/winexe/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        }
    ],
    "resource": [
        {
            "name": "Perl4::CoreLibs",
            "url": "https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-0.003.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "diff -Naur winexe-1.00-orig/source4/winexe/winexe.h winexe-1.00/source4/winexe/winexe.h\n",
                "--- winexe-1.00-orig/source4/winexe/winexe.h    2011-06-18 00:00:00.000000000 +0000\n",
                "+++ winexe-1.00/source4/winexe/winexe.h 2011-06-18 00:00:00.000000000 +0000\n",
                "@@ -63,7 +63,7 @@\n",
                " int async_write(struct async_context *c, const void *buf, int len);\n",
                " int async_close(struct async_context *c);\n",
                " \n",
                "-struct tevent_context *ev_ctx;\n",
                "+extern struct tevent_context *ev_ctx;\n",
                " \n",
                " /* winexesvc32_exe.c */\n",
                " extern unsigned int winexesvc32_exe_len;\n"
            ]
        }
    ],
    "install": [
        "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"",
        "resource(\"Perl4::CoreLibs\").stage do",
        "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"",
        "system \"make\"",
        "system \"make\", \"install\""
    ],
    "version": "1.00",
    "file": "winexe.rb"
}