From 6dd0128cd1c943a16c38652ac0a8821844771cf7 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Sun, 18 Jan 2015 22:26:03 +0000 Subject: Add ocaml chunk, strata and system Change-Id: I7b36e0e1ef55b4146896aaa3dbc9e4f61c4d205e --- strata/ocaml-language.morph | 11 +++++++++++ strata/ocaml/ocaml.morph | 8 ++++++++ systems/ocaml-system-x86_64.morph | 20 ++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 strata/ocaml-language.morph create mode 100644 strata/ocaml/ocaml.morph create mode 100644 systems/ocaml-system-x86_64.morph 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 diff --git a/systems/ocaml-system-x86_64.morph b/systems/ocaml-system-x86_64.morph new file mode 100644 index 00000000..1903e4d6 --- /dev/null +++ b/systems/ocaml-system-x86_64.morph @@ -0,0 +1,20 @@ +name: ocaml-system-x86_64 +kind: system +description: OCaml base system +arch: x86_64 +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: bsp-x86_64-generic + morph: strata/bsp-x86_64-generic.morph +- name: ocaml-language + morph: strata/ocaml-language.morph +configuration-extensions: +- set-hostname +- add-config-files +- nfsboot +- install-files -- cgit v1.2.1