summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAna Huelamo <ana.huelamo@codethink.co.uk>2016-05-05 08:26:07 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-05-10 18:16:12 +0000
commit0824e69a0529b770959db39c6fd7d694caaa025c (patch)
tree2ceb8804b68c137db7ee802784621d65ca0d119c
parent195d70a7b308e149516b801f7cbe52979bd66fdf (diff)
downloaddefinitions-0824e69a0529b770959db39c6fd7d694caaa025c.tar.gz
Added CORBA integration files
Change-Id: Ifb376f52e346c1ac9d5ac9d440e55bf0e0090292
-rw-r--r--strata/corba.morph17
-rw-r--r--strata/corba/MPC.morph6
-rw-r--r--strata/corba/ace_tao.morph32
3 files changed, 55 insertions, 0 deletions
diff --git a/strata/corba.morph b/strata/corba.morph
new file mode 100644
index 00000000..3164ecc0
--- /dev/null
+++ b/strata/corba.morph
@@ -0,0 +1,17 @@
+name: corba
+kind: stratum
+build-depends:
+ - morph: strata/core.morph
+chunks:
+ - name: MPC
+ repo: upstream:MPC
+ morph: strata/corba/MPC.morph
+ ref: c2cddd1335036f1ca3610274a155d2222a8b5f7c
+ unpetrify-ref: ACE+TAO-6_3_4
+ - name: ACE_TAO
+ morph: strata/corba/ace_tao.morph
+ repo: upstream:ATCD
+ ref: b9ab94b74529a926864c154675559fd6a1d8998b
+ unpetrify-ref: ACE+TAO-6_3_4
+ build-depends:
+ - MPC
diff --git a/strata/corba/MPC.morph b/strata/corba/MPC.morph
new file mode 100644
index 00000000..84b015ec
--- /dev/null
+++ b/strata/corba/MPC.morph
@@ -0,0 +1,6 @@
+name: MPC
+kind: chunk
+build-system: manual
+install-commands:
+- mkdir -p "$DESTDIR/usr/src/MPC"
+- cp -r * "$DESTDIR/usr/src/MPC"
diff --git a/strata/corba/ace_tao.morph b/strata/corba/ace_tao.morph
new file mode 100644
index 00000000..bfbbb4cc
--- /dev/null
+++ b/strata/corba/ace_tao.morph
@@ -0,0 +1,32 @@
+name: ACE_TAO
+kind: chunk
+build-system: manual
+configure-commands:
+- |
+ export ACE_ROOT="$PWD/ACE"
+ export TAO_ROOT="$PWD/TAO"
+ export MPC_ROOT='/usr/src/MPC'
+ cd "$TAO_ROOT"
+ perl "$ACE_ROOT"/bin/mwc.pl TAO_ACE.mwc -type gnuace
+
+build-commands:
+- |
+ export ACE_ROOT="$PWD/ACE"
+ export TAO_ROOT="$PWD/TAO"
+ export MPC_ROOT='/usr/src/MPC'
+ echo '#include "ace/config-linux.h"' > "$ACE_ROOT"/ace/config.h
+ echo "include "$ACE_ROOT"/include/makeinclude/platform_linux.GNU" > "$ACE_ROOT"/include/makeinclude/platform_macros.GNU
+ export LD_LIBRARY_PATH="$ACE_ROOT"/lib:$LD_LIBRARY_PATH
+ cd "$TAO_ROOT"
+ make
+install-commands:
+- |
+ export ACE_ROOT="$PWD/ACE"
+ export TAO_ROOT="$PWD/TAO"
+ export MPC_ROOT='/usr/src/MPC'
+ cd "$TAO_ROOT"
+ make DESTDIR="$DESTDIR" INSTALL_PREFIX="$PREFIX" install
+system-integration:
+ ACE_TAO-misc:
+ 00-remove-build-dependencies:
+ - rm -rf /usr/src/MPC