summaryrefslogtreecommitdiff
path: root/strata/genivi
diff options
context:
space:
mode:
Diffstat (limited to 'strata/genivi')
-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
4 files changed, 46 insertions, 0 deletions
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