Split nymea-dev-tools from libnymea1-dev

This commit is contained in:
Michael Zanetti 2019-06-28 02:15:35 +02:00
parent b056fb8b5e
commit 947e6bdc71
5 changed files with 19 additions and 21 deletions

19
debian/control vendored
View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

1
debian/nymea-dev-tools.install.in vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/nymea-plugininfocompiler