summaryrefslogtreecommitdiff
path: root/homebrew/nspr/.beer
blob: 881d82dae89cd8cf3645ef99d8433ed044688cc9 (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
{
    "name": "Nspr",
    "description": "Platform-neutral API for system-level and libc-like functions",
    "url": "https://archive.mozilla.org/pub/nspr/releases/v4.21/src/nspr-4.21.tar.gz",
    "mirror": null,
    "homepage": "https://developer.mozilla.org/docs/Mozilla/Projects/NSPR",
    "depends": [],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.deparallelize",
        "cd \"nspr\" do",
        "inreplace \"pr/src/Makefile.in\", \"-framework CoreServices -framework CoreFoundation\", \"\"",
        "args = %W[",
        "--disable-debug",
        "--prefix=#{prefix}",
        "--enable-strip",
        "--with-pthreads",
        "--enable-ipv6",
        "--enable-macos-target=#{MacOS.version}",
        "--enable-64bit",
        "]",
        "system \"./configure\", *args",
        "inreplace \"config/autoconf.mk\", \"-install_name @executable_path/$@ \", \"-install_name #{lib}/$@ \"",
        "system \"make\"",
        "system \"make\", \"install\"",
        "(bin/\"compile-et.pl\").unlink",
        "(bin/\"prerr.properties\").unlink"
    ],
    "version": "4.21",
    "file": "nspr.rb"
}