/
meta.yaml
81 lines (72 loc) · 2.47 KB
/
meta.yaml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{% set name = "ocaml" %}
{% set version = "4.11.2" %}
{% set version_major = version.split(".")[0] %}
{% set version_minor = version.split(".")[1] %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: http://caml.inria.fr/pub/distrib/{{ name }}-{{ version_major }}.{{ version_minor }}/{{ name }}-{{ version }}.tar.gz
sha256: 4f551d7cb0c085dc57256d196ca51d32faaacb0298c84d09052b844de7020921
patches:
- prefix_fix.diff
build:
number: 2
skip: true # [win]
run_exports:
- {{ pin_subpackage("ocaml", max_pin="x.x.x") }}
requirements:
build:
- {{ compiler('c') }}
host:
run:
- {{ compiler('c') }}
test:
commands:
- ocaml -version
- ocamlc -version
- ocamlcmt -help
- ocamlcp -version
- ocamldoc -version
- ocamldebug -version
- ocamldep -version
- ocamllex -version
- ocamlmklib -version
- ocamlmktop -version
- ocamlobjinfo -help
- ocamlobjinfo.byte -help
- ocamlobjinfo.opt -help
- ocamlopt -version
- ocamloptp -version
- ocamlprof -version
- ocamlrun -version
- ocamlyacc -version
about:
home: https://ocaml.org/
license: LGPL-2.1-only WITH OCaml-LGPL-linking-exception
license_family: LGPL
license_file: LICENSE
summary: Objective Caml (OCaml) is an implementation of the ML language.
description: |
OCaml is an implementation of the ML language, based on the Caml Light
dialect extended with a complete class-based object system and a powerful
module system in the style of Standard ML.
OCaml comprises two compilers. One generates bytecode which is then
interpreted by a C program. This compiler runs quickly, generates compact
code with moderate memory requirements, and is portable to essentially any
32 or 64 bit Unix platform. Performance of generated programs is quite good
for a bytecoded implementation. This compiler can be used either as a
standalone, batch-oriented compiler that produces standalone programs, or as
an interactive, toplevel-based system.
The other compiler generates high-performance native code for a number of
processors. Compilation takes longer and generates bigger code, but the
generated programs deliver excellent performance, while retaining the
moderate memory requirements of the bytecode compiler.
doc_url: https://ocaml.org/docs/
dev_url: https://github.com/ocaml/ocaml
extra:
recipe-maintainers:
- peterjc
- Zimmi48
- isuruf