fix debian packaging
This commit is contained in:
parent
36f1fbd6ea
commit
b2118c8efc
24
copyright
Normal file
24
copyright
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: nymea-remoteproxy
|
||||||
|
Upstream-Contact: Simon Stürz <simon.stuerz@guh.io>
|
||||||
|
Copyright: 2018, guh GmbH
|
||||||
|
Download: http://www.github.com/guh/nymea-remoteproxy
|
||||||
|
Source: https://github.com/guh/nymea-remoteproxy.git
|
||||||
|
|
||||||
|
|
||||||
|
License: GPL-2+
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
||||||
|
|
||||||
|
License: LGPL-2.1
|
||||||
|
On Debian systems, the complete text of the GNU Lesser General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||||
|
|
||||||
|
License: LGPL-3
|
||||||
|
On Debian systems, the complete text of the GNU Lesser General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/LGPL-3'.
|
||||||
|
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
License: GPL-2+
|
||||||
|
Copyright: 2018, Simon Stürz <simon.stuerz@guh.io>
|
||||||
20
debian/control
vendored
20
debian/control
vendored
@ -1,7 +1,7 @@
|
|||||||
Source: nymea-remoteproxy
|
Source: nymea-remoteproxy
|
||||||
Section: utils
|
Section: utils
|
||||||
Priority: options
|
Priority: options
|
||||||
Maintainer: Michael Zanetti <michael.zanetti@guh.io>
|
Maintainer: Simon Stürz <simon.stürz@guh.io>
|
||||||
Build-depends: debhelper (>= 0.0.0),
|
Build-depends: debhelper (>= 0.0.0),
|
||||||
libqt5websockets5-dev,
|
libqt5websockets5-dev,
|
||||||
Standards-Version: 3.9.3
|
Standards-Version: 3.9.3
|
||||||
@ -13,19 +13,19 @@ Depends: ${shlibs:Depends},
|
|||||||
Description: The nymea remote proxy server
|
Description: The nymea remote proxy server
|
||||||
The nymea remote proxy server
|
The nymea remote proxy server
|
||||||
|
|
||||||
Package: libnymea-remoteproxy
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${shlibs:Depends},
|
|
||||||
${misc:Depends},
|
|
||||||
Description: The nymea remote proxy server
|
|
||||||
The nymea remote proxy server
|
|
||||||
|
|
||||||
Package: libnymea-remoteproxyclient
|
Package: libnymea-remoteproxyclient
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends},
|
Depends: ${shlibs:Depends},
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: The nymea remote proxy server
|
Description: The nymea remote proxy server client lib
|
||||||
The nymea remote proxy server
|
The nymea remote proxy server client lib
|
||||||
|
|
||||||
|
Package: libnymea-remoteproxyclient-dev
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends},
|
||||||
|
${misc:Depends},
|
||||||
|
Description: The nymea remote proxy server client lib, development files
|
||||||
|
The nymea remote proxy server client lib, development files
|
||||||
|
|
||||||
Package: nymea-remoteproxy-tests
|
Package: nymea-remoteproxy-tests
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
|||||||
1
debian/libnymea-remoteproxy.install
vendored
1
debian/libnymea-remoteproxy.install
vendored
@ -1 +0,0 @@
|
|||||||
usr/lib/libnymea-remoteproxy.so*
|
|
||||||
1
debian/libnymea-remoteproxyclient.install
vendored
1
debian/libnymea-remoteproxyclient.install
vendored
@ -1 +0,0 @@
|
|||||||
usr/lib/libnymea-remoteproxyclient.so*
|
|
||||||
1
debian/libnymea-remoteproxyclient.install.in
vendored
Normal file
1
debian/libnymea-remoteproxyclient.install.in
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-remoteproxyclient.so.*
|
||||||
1
debian/nymea-remoteproxy.install
vendored
1
debian/nymea-remoteproxy.install
vendored
@ -1 +0,0 @@
|
|||||||
usr/bin/nymea-remoteproxy
|
|
||||||
2
debian/nymea-remoteproxy.install.in
vendored
Normal file
2
debian/nymea-remoteproxy.install.in
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-remoteproxy.so*
|
||||||
|
usr/bin/nymea-remoteproxy
|
||||||
20
debian/rules
vendored
20
debian/rules
vendored
@ -2,16 +2,14 @@
|
|||||||
|
|
||||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||||
|
|
||||||
|
|
||||||
|
PREPROCESS_FILES := $(wildcard debian/*.in)
|
||||||
|
|
||||||
|
$(PREPROCESS_FILES:.in=): %: %.in
|
||||||
|
sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@
|
||||||
|
|
||||||
|
override_dh_install: $(PREPROCESS_FILES:.in=)
|
||||||
|
dh_install
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
#override_dh_auto_build:
|
|
||||||
# JANUSP=/usr make -j1
|
|
||||||
|
|
||||||
#override_dh_auto_install:
|
|
||||||
# install build/janus_guhio.so debian/janus-guh-plugin/lib/$(DEB_HOST_MULTIARCH)/janus/plugins/
|
|
||||||
# install -m 0644 conf/janus.plugin.guhio.cfg debian/janus-guh-plugin/etc/janus/
|
|
||||||
|
|
||||||
override_dh_auto_check:
|
|
||||||
LD_LIBRARY_PATH=libnymea-remoteproxy dh_auto_check
|
|
||||||
|
|
||||||
|
|||||||
@ -56,5 +56,5 @@ for(header, HEADERS) {
|
|||||||
eval(INSTALLS *= headers_$${path})
|
eval(INSTALLS *= headers_$${path})
|
||||||
}
|
}
|
||||||
|
|
||||||
target.path = /usr/lib/
|
target.path = /usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
|||||||
@ -2,7 +2,7 @@ include(../nymea-remoteproxy.pri)
|
|||||||
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = nymea-remoteproxyclient
|
TARGET = nymea-remoteproxyclient
|
||||||
target.path = /usr/lib/
|
target.path = /usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')
|
||||||
|
|
||||||
include(libnymea-remoteproxyclient.pri)
|
include(libnymea-remoteproxyclient.pri)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user