diff options
Diffstat (limited to 'homebrew/ocamlnum/.beer')
-rw-r--r-- | homebrew/ocamlnum/.beer | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/ocamlnum/.beer b/homebrew/ocamlnum/.beer new file mode 100644 index 000000000..d29d7a41d --- /dev/null +++ b/homebrew/ocamlnum/.beer @@ -0,0 +1,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" +}
\ No newline at end of file |