debian: Package cbc-apitool.py as a sub-package
We don't want osmo-cbc to depend on python3 at runtime, so let's use a sub-package for osmo-cbc-apitool.py Change-Id: Id16613811993a2baa06ebc2da6c6591ace70a3f9
This commit is contained in:
parent
2b158c3b2d
commit
bc80894f0e
|
@ -27,6 +27,12 @@ Multi-Arch: foreign
|
|||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: OsmoCBC: Osmocom's Cell Broadcast Center
|
||||
|
||||
Package: osmo-cbc-utils
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, python3
|
||||
Description: Utilities for OsmoCBC: Osmocom's Cell Broadcast Center
|
||||
|
||||
Package: osmo-cbc-dbg
|
||||
Section: debug
|
||||
Architecture: any
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
usr/bin/cbc-apitool.py
|
|
@ -50,8 +50,9 @@ override_dh_auto_configure:
|
|||
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
||||
#
|
||||
# Do not install libtool archive, python .pyc .pyo
|
||||
#override_dh_install:
|
||||
# dh_install --list-missing -X.la -X.pyc -X.pyo
|
||||
override_dh_install:
|
||||
install -m 755 contrib/cbc-apitool.py debian/tmp/usr/bin/cbc-apitool.py
|
||||
dh_install
|
||||
|
||||
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||
override_dh_strip:
|
||||
|
|
Loading…
Reference in New Issue