diff options
Diffstat (limited to 'strata/smartdevicelink')
-rw-r--r-- | strata/smartdevicelink/libapr-util.morph | 10 | ||||
-rw-r--r-- | strata/smartdevicelink/libapr.morph | 9 | ||||
-rw-r--r-- | strata/smartdevicelink/log4cxx.morph | 9 | ||||
-rw-r--r-- | strata/smartdevicelink/smartdevicelink.morph | 18 |
4 files changed, 46 insertions, 0 deletions
diff --git a/strata/smartdevicelink/libapr-util.morph b/strata/smartdevicelink/libapr-util.morph new file mode 100644 index 00000000..e838a3ee --- /dev/null +++ b/strata/smartdevicelink/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/smartdevicelink/libapr.morph b/strata/smartdevicelink/libapr.morph new file mode 100644 index 00000000..ca0d4cbd --- /dev/null +++ b/strata/smartdevicelink/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/smartdevicelink/log4cxx.morph b/strata/smartdevicelink/log4cxx.morph new file mode 100644 index 00000000..e236a952 --- /dev/null +++ b/strata/smartdevicelink/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/smartdevicelink/smartdevicelink.morph b/strata/smartdevicelink/smartdevicelink.morph new file mode 100644 index 00000000..6eb26f3a --- /dev/null +++ b/strata/smartdevicelink/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 |