diff --git a/debian/control b/debian/control index f01c76de..d7d5c838 100644 --- a/debian/control +++ b/debian/control @@ -180,4 +180,21 @@ Description: An open source IoT server - development files With the powerful rule engine you are able to connect any device available in the system and create individual scenes and behaviors for your environment. . - This package will install the development files and compilers for nymea. + This package will install the development files for nymea. + +Package: nymea-dev-tools +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnymea1 (= ${binary:Version}), + qttools5-dev-tools, +Description: An open source IoT server - development files + The nymea daemon is a plugin based IoT (Internet of Things) server. The + server works like a translator for devices, things and services and + allows them to interact. + With the powerful rule engine you are able to connect any device available + in the system and create individual scenes and behaviors for your environment. + . + This package will install the development tools for nymea. diff --git a/debian/libnymea1-dev.install.in b/debian/libnymea1-dev.install.in index 94b14cde..ac14e591 100644 --- a/debian/libnymea1-dev.install.in +++ b/debian/libnymea1-dev.install.in @@ -1,5 +1,4 @@ usr/lib/@DEB_HOST_MULTIARCH@/libnymea.so usr/include/nymea/* usr/include/nymea -usr/bin/nymea-plugininfocompiler usr/lib/@DEB_HOST_MULTIARCH@/nymea/bin libnymea/devices/plugin.pri usr/include/nymea/ usr/lib/@DEB_HOST_MULTIARCH@/pkgconfig/nymea.pc diff --git a/debian/libnymea1-dev.postinst b/debian/libnymea1-dev.postinst deleted file mode 100644 index fb460e4c..00000000 --- a/debian/libnymea1-dev.postinst +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -HOST_ARCH=`dpkg-architecture -qDEB_HOST_ARCH_CPU` -HOST_MULTI_ARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH` - -if [ "$DPKG_MAINTSCRIPT_ARCH" = "$HOST_ARCH" ]; then - echo Symlinking /usr/lib/$HOST_MULTI_ARCH/nymea/bin/nymea-plugininfocompiler to /usr/bin/nymea-plugininfocompiler - ln -s /usr/lib/$HOST_MULTI_ARCH/nymea/bin/nymea-plugininfocompiler /usr/bin/nymea-plugininfocompiler -fi diff --git a/debian/libnymea1-dev.postrm b/debian/libnymea1-dev.postrm deleted file mode 100644 index 484e119f..00000000 --- a/debian/libnymea1-dev.postrm +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -HOST_ARCH=`dpkg-architecture -qDEB_HOST_ARCH_CPU` - -if [ "$DPKG_MAINTSCRIPT_ARCH" = "$HOST_ARCH" ]; then - if [ -e /usr/bin/nymea-plugininfocompiler ]; then - echo Removing symlink /usr/bin/nymea-plugininfocompiler - rm /usr/bin/nymea-plugininfocompiler - fi -fi diff --git a/debian/nymea-dev-tools.install.in b/debian/nymea-dev-tools.install.in new file mode 100644 index 00000000..8e838548 --- /dev/null +++ b/debian/nymea-dev-tools.install.in @@ -0,0 +1 @@ +usr/bin/nymea-plugininfocompiler