summaryrefslogtreecommitdiff
path: root/homebrew/nload/.beer
blob: ac98988b9c1fc25a65e9c938a419822c80db260f (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
{
    "name": "Nload",
    "description": "Realtime console network usage monitor",
    "url": "http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz",
    "mirror": null,
    "homepage": "http://www.roland-riegel.de/nload/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://sourceforge.net/p/nload/bugs/_discuss/thread/c9b68d8e/4a65/attachment/devreader-bsd.cpp.patch",
            "strip": "0"
        },
        {
            "url": null,
            "data": [
                "diff --git a/configure.in b/configure.in\n",
                "index 87ecc88..4df8dc3 100644\n",
                "--- a/configure.in\n",
                "+++ b/configure.in\n",
                "@@ -38,7 +38,7 @@ case $host_os in\n",
                " \n",
                "         AC_CHECK_FUNCS([memset])\n",
                "         ;;\n",
                "-    *bsd*)\n",
                "+    *darwin*)\n",
                "         AC_DEFINE(HAVE_BSD, 1, [Define to 1 if your build target is BSD.])\n",
                "         AM_CONDITIONAL(HAVE_BSD, true)\n"
            ]
        }
    ],
    "install": [
        "system \"./run_autotools\"",
        "system \"./configure\", \"--disable-debug\",",
        "\"--disable-dependency-tracking\",",
        "\"--prefix=#{prefix}\"",
        "system \"make\", \"install\", \"LDFLAGS=\""
    ],
    "version": "0.7.4",
    "file": "nload.rb"
}