summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2015-01-18 22:26:03 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-05-07 10:07:23 +0000
commit99c3c85f693fa77187d4f92c6d4c0c55e9bc949f (patch)
tree1fd28fe1236b07c103fe6faaf01c6fea6cd008bd /strata
parentbcf173e9e74cf28f5247049389bcccbcf4e481c3 (diff)
downloaddefinitions-99c3c85f693fa77187d4f92c6d4c0c55e9bc949f.tar.gz
Add ocaml chunk, strata and system
Change-Id: I7b36e0e1ef55b4146896aaa3dbc9e4f61c4d205e
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