From 0824e69a0529b770959db39c6fd7d694caaa025c Mon Sep 17 00:00:00 2001 From: Ana Huelamo Date: Thu, 5 May 2016 08:26:07 +0000 Subject: Added CORBA integration files Change-Id: Ifb376f52e346c1ac9d5ac9d440e55bf0e0090292 --- strata/corba.morph | 17 +++++++++++++++++ strata/corba/MPC.morph | 6 ++++++ strata/corba/ace_tao.morph | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 strata/corba.morph create mode 100644 strata/corba/MPC.morph create mode 100644 strata/corba/ace_tao.morph 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 -- cgit v1.2.1