summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-09-08 20:02:08 (GMT)
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-09-10 16:52:41 (GMT)
commite0a0d03d27525537dac550b216caa728b5fd798c (patch)
tree72b91b124d9933a73a362f4d61e24b66e2afdb0e
parent6523c60a6e918d982ac378beef48e0d3dfa0603e (diff)
downloaddefinitions-baserock/ps/smartdevicelink.tar.gz
smartdevicelink with its depends - may be missing a log4cplus.properties filebaserock/ps/smartdevicelink
-rw-r--r--strata/genivi.morph30
-rw-r--r--strata/genivi/libapr-util.morph10
-rw-r--r--strata/genivi/libapr.morph9
-rw-r--r--strata/genivi/log4cxx.morph9
-rw-r--r--strata/genivi/smartdevicelink.morph18
5 files changed, 76 insertions, 0 deletions
diff --git a/strata/genivi.morph b/strata/genivi.morph
index b75861c..8ddef3c 100644
--- a/strata/genivi.morph
+++ b/strata/genivi.morph
@@ -3,6 +3,7 @@ kind: stratum
description: Software components designed by genivi, for genivi.
build-depends:
- morph: strata/genivi-foundation.morph
+- morph: strata/audio-bluetooth.morph
chunks:
- name: DLT-daemon
repo: upstream:DLT-daemon
@@ -70,3 +71,32 @@ chunks:
build-depends:
- DLT-daemon
- persistence-client-library
+- name: libapr
+ repo: upstream:libapr
+ morph: strata/genivi/libapr.morph
+ ref: 1.5.1
+ build-depends: []
+- name: libapr-tarball
+ repo: upstream:libapr-tarball
+ ref: dea1efeb7f60fc6848e1e72b3fc973d0057565db
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: libapr-util-tarball
+ morph: strata/trove/libapr-util-tarball.morph
+ repo: upstream:libapr-util-tarball
+ ref: daba269ee5a262cc23621b3ee37ed368d2a2b69b
+ unpetrify-ref: baserock/morph
+ build-depends:
+ - libapr-tarball
+- name: log4cxx
+ repo: upstream:log4cxx
+ ref: master
+ build-depends:
+ - libapr-tarball
+ - libapr-util-tarball
+- name: smartdevicelink
+ repo: upstream:smartdevicelink
+ morph: strata/genivi/smartdevicelink.morph
+ ref: 8504605b01177da2e55bee6abe4c3f20c82da379
+ build-depends:
+ - log4cxx
diff --git a/strata/genivi/libapr-util.morph b/strata/genivi/libapr-util.morph
new file mode 100644
index 0000000..e838a3e
--- /dev/null
+++ b/strata/genivi/libapr-util.morph
@@ -0,0 +1,10 @@
+name: libapr-util
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./buildconf
+- ./configure --prefix "$PREFIX"
+build-commands:
+- make
+install-commands:
+- make install
diff --git a/strata/genivi/libapr.morph b/strata/genivi/libapr.morph
new file mode 100644
index 0000000..ca0d4cb
--- /dev/null
+++ b/strata/genivi/libapr.morph
@@ -0,0 +1,9 @@
+name: libapr
+kind: chunk
+configure-commands:
+- ./buildconf --verbose
+- ./configure --prefix "$PREFIX"
+build-commands:
+- make
+install-commands:
+- make install
diff --git a/strata/genivi/log4cxx.morph b/strata/genivi/log4cxx.morph
new file mode 100644
index 0000000..e236a95
--- /dev/null
+++ b/strata/genivi/log4cxx.morph
@@ -0,0 +1,9 @@
+name: log4cxx
+kind: chunk
+configure-commands:
+- ./autogen.sh
+- ./configure --prefix="$PREFIX" --with-apr=/usr/lib/apr-2
+build-commands:
+- make
+install-commands:
+- make install
diff --git a/strata/genivi/smartdevicelink.morph b/strata/genivi/smartdevicelink.morph
new file mode 100644
index 0000000..6eb26f3
--- /dev/null
+++ b/strata/genivi/smartdevicelink.morph
@@ -0,0 +1,18 @@
+name: smartdevicelink
+kind: chunk
+
+configure-commands:
+ - cd SDL_Core && cmake .
+build-commands:
+ - cd SDL_Core && make
+install-commands:
+ - cd SDL_Core && make install DESTDIR=/
+ - mkdir -p $DESTDIR/opt/smartlink/include
+ - mkdir -p $DESTDIR/opt/smartlink/bin
+ - mkdir -p $DESTDIR/opt/smartlink/lib
+ - mkdir -p $DESTDIR/opt/smartlink/HMI
+ - cp -r SDL_Core/bin/* $DESTDIR/opt/smartlink/bin
+ - cp -r SDL_Core/include/* $DESTDIR/opt/smartlink/include
+ - cp -r SDL_Core/lib/* $DESTDIR/opt/smartlink/lib
+ - cp -r SDL_Core/src/components/HMI/* $DESTDIR/opt/smartlink/HMI
+ - echo "/opt/smartlink/HMI/index.html" > $DESTDIR/opt/smartlink/bin/hmi_link