summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
Diffstat (limited to 'strata')
-rw-r--r--strata/ocaml-language.morph11
-rw-r--r--strata/ocaml/ocaml.morph8
2 files changed, 19 insertions, 0 deletions
diff --git a/strata/ocaml-language.morph b/strata/ocaml-language.morph
new file mode 100644
index 00000000..3364763d
--- /dev/null
+++ b/strata/ocaml-language.morph
@@ -0,0 +1,11 @@
+name: ocaml-language
+kind: stratum
+description: |
+ OCaml
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: ocaml
+ morph: strata/ocaml/ocaml.morph
+ repo: upstream:ocaml
+ ref: fa7961d5fada53056f38a9ae36615df26352028a
diff --git a/strata/ocaml/ocaml.morph b/strata/ocaml/ocaml.morph
new file mode 100644
index 00000000..00e36767
--- /dev/null
+++ b/strata/ocaml/ocaml.morph
@@ -0,0 +1,8 @@
+name: ocaml
+kind: chunk
+configure-commands:
+- ./configure --prefix "$PREFIX"
+build-commands:
+- make world.opt
+install-commands:
+- make DESTDIR="$DESTDIR" install