summaryrefslogtreecommitdiff
path: root/homebrew/bitcoin/.beer
blob: efc37e73e638128bfcd90c81122e480262dcf73b (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
{
    "name": "Bitcoin",
    "description": "Decentralized, peer to peer payment network",
    "url": "https://bitcoin.org/bin/bitcoin-core-0.17.1/bitcoin-0.17.1.tar.gz",
    "mirror": null,
    "homepage": "https://bitcoin.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "berkeley-db@4",
            "build-depend": false
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "libevent",
            "build-depend": false
        },
        {
            "depend": "miniupnpc",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "zeromq",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "if MacOS.version == :el_capitan && MacOS::Xcode.version >= \"8.0\"",
        "ENV.delete(\"SDKROOT\")",
        "end",
        "system \"./autogen.sh\" if build.head?",
        "system \"./configure\", \"--disable-dependency-tracking\",",
        "\"--disable-silent-rules\",",
        "\"--with-boost-libdir=#{Formula[\"boost\"].opt_lib}\",",
        "\"--prefix=#{prefix}\"",
        "system \"make\", \"install\"",
        "pkgshare.install \"share/rpcauth\""
    ],
    "version": "0.17.1",
    "file": "bitcoin.rb"
}