summaryrefslogtreecommitdiff
path: root/homebrew/ocamlnum/.beer
blob: d29d7a41de1c27e95f58e32c9fb8bde9dbac2a16 (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
{
    "name": "OcamlNum",
    "description": "OCaml legacy Num library for arbitrary-precision arithmetic",
    "url": "https://github.com/ocaml/num/archive/v1.1.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/ocaml/num",
    "depends": [
        {
            "depend": "ocaml-findlib",
            "build-depend": true
        },
        {
            "depend": "ocaml",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV[\"OCAMLFIND_DESTDIR\"] = lib/\"ocaml\"",
        "(lib/\"ocaml\").mkpath",
        "cp Formula[\"ocaml\"].opt_lib/\"ocaml/Makefile.config\", lib/\"ocaml\"",
        "inreplace lib/\"ocaml/Makefile.config\", /^PREFIX=#{HOMEBREW_PREFIX}$/,",
        "\"PREFIX=#{prefix}\"",
        "system \"make\"",
        "(lib/\"ocaml/stublibs\").mkpath ",
        "system \"make\", \"install\", \"STDLIBDIR=#{lib}/ocaml\"",
        "pkgshare.install \"test\"",
        "rm lib/\"ocaml/Makefile.config\" "
    ],
    "version": "1.1",
    "file": "ocaml-num.rb"
}