mirror of https://github.com/nymea/nymea-gpio
Fix debian packaging
parent
c960a07227
commit
febd6221c8
|
|
@ -12,6 +12,7 @@ Standards-Version: 3.9.7
|
|||
Package: libnymea-gpio
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Description: Qt 5 based library for GPIO interaction.
|
||||
|
|
@ -29,19 +30,10 @@ Description: Qt 5 based tool for GPIO interaction.
|
|||
Package: libnymea-gpio-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
pkg-config,
|
||||
libnymea-gpio (= ${binary:Version})
|
||||
Description: Qt 5 based library for GPIO interaction - development files
|
||||
Development files for Qt 5 based GPIO library.
|
||||
|
||||
Package: libnymea-gpio-dbg
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Section: debug
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libnymea-gpio (= ${binary:Version})
|
||||
Description: Qt 5 based library for GPIO interaction - debug symbols
|
||||
Debug Symbols for Qt 5 based GPIO library.
|
||||
|
|
|
|||
|
|
@ -1,22 +1,24 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
export DH_VERBOSE=1
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
PREPROCESS_FILES := $(wildcard debian/*.in)
|
||||
|
||||
$(PREPROCESS_FILES:.in=): %: %.in
|
||||
sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=qmake --parallel
|
||||
|
||||
override_dh_install: $(PREPROCESS_FILES:.in=)
|
||||
dh_install
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=libnymea-gpio-dbg
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean
|
||||
rm -rf $(PREPROCESS_FILES:.in=)
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=qmake --parallel
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue