summaryrefslogtreecommitdiff
path: root/homebrew/nss/.beer
blob: a7d945d688cdea01f1a5688dd2993c34981232a7 (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
{
    "name": "Nss",
    "description": "Libraries for security-enabled client and server applications",
    "url": "https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_43_RTM/src/nss-3.43.tar.gz",
    "mirror": null,
    "homepage": "https://developer.mozilla.org/docs/NSS",
    "depends": [
        {
            "depend": "nspr",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.deparallelize",
        "cd \"nss\"",
        "args = %W[",
        "BUILD_OPT=1",
        "NSS_USE_SYSTEM_SQLITE=1",
        "NSPR_INCLUDE_DIR=#{Formula[\"nspr\"].opt_include}/nspr",
        "NSPR_LIB_DIR=#{Formula[\"nspr\"].opt_lib}",
        "USE_64=1",
        "]",
        "inreplace \"coreconf/Darwin.mk\", \"-install_name @executable_path\", \"-install_name #{lib}\"",
        "inreplace \"lib/freebl/config.mk\", \"@executable_path\", lib",
        "system \"make\", \"all\", *args",
        "cd \"../dist\"",
        "bin.mkpath",
        "Dir.glob(\"Darwin*/bin/*\") do |file|",
        "cp file, bin unless file.include? \".dylib\""
    ],
    "version": "3.43",
    "file": "nss.rb"
}