summaryrefslogtreecommitdiff
path: root/homebrew/nut/.beer
blob: ae004ae05517d70e5b35af2e866c035721b7013e (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
{
    "name": "Nut",
    "description": "Network UPS Tools: Support for various power devices",
    "url": "https://networkupstools.org/source/2.7/nut-2.7.4.tar.gz",
    "mirror": null,
    "homepage": "https://networkupstools.org/",
    "depends": [
        {
            "depend": "asciidoc",
            "build-depend": true
        },
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "libusb-compat",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [
        {
            "conflict": "rhino",
            "reason": "both install `rhino` binaries"
        }
    ],
    "patches": [],
    "install": [
        "if build.head?",
        "ENV[\"XML_CATALOG_FILES\"] = \"#{etc}/xml/catalog\"",
        "system \"./autogen.sh\"",
        "end",
        "system \"./configure\", \"--disable-dependency-tracking\",",
        "\"--prefix=#{prefix}\",",
        "\"--localstatedir=#{var}\",",
        "\"--with-macosx_ups\",",
        "\"--with-openssl\",",
        "\"--with-serial\",",
        "\"--with-usb\",",
        "\"--without-avahi\",",
        "\"--without-cgi\",",
        "\"--without-dev\",",
        "\"--without-doc\",",
        "\"--without-ipmi\",",
        "\"--without-libltdl\",",
        "\"--without-neon\",",
        "\"--without-nss\",",
        "\"--without-powerman\",",
        "\"--without-snmp\",",
        "\"--without-wrap\"",
        "system \"make\", \"install\""
    ],
    "version": "2.7.4",
    "file": "nut.rb"
}