From ed10f05eddddd4ce5a2a273e2979a4f85a5acacb Mon Sep 17 00:00:00 2001 From: Ivan Kluchnikov Date: Mon, 22 Sep 2014 17:32:53 +0400 Subject: debian: Add debug package for the osmo-trx --- debian/changelog | 2 +- debian/control | 11 ++++++++++- debian/osmo-trx.install | 1 + debian/rules | 5 ++--- debian/source/format | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 debian/osmo-trx.install diff --git a/debian/changelog b/debian/changelog index 13a8f89..aab7b96 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -osmo-trx (0.1.0) precise; urgency=low +osmo-trx (0.1.8) precise; urgency=low * Initial release (Closes: #nnnn) Section: net Priority: optional Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 9), autotools-dev, libdbd-sqlite3, pkg-config, dh-autoreconf, libuhd-dev, libusb-1.0-0-dev, libboost1.48-all-dev +Build-Depends: debhelper (>= 9), autotools-dev, libdbd-sqlite3, pkg-config, dh-autoreconf, libuhd-dev (>= 3.5.7), libusb-1.0-0-dev, libboost-all-dev Homepage: http://openbsc.osmocom.org/trac/wiki/OsmoTRX Vcs-Git: git://git.osmocom.org/osmo-trx Vcs-Browser: http://cgit.osmocom.org/osmo-trx @@ -13,3 +13,12 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libdbd-sqlite3 Description: OsmoTRX is a software-defined radio transceiver that implements the Layer 1 physical layer of a BTS +Package: osmo-trx-dbg +Architecture: any +Section: debug +Priority: extra +Depends: osmo-trx (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for the osmo-trx + Make debugging possible + + diff --git a/debian/osmo-trx.install b/debian/osmo-trx.install new file mode 100644 index 0000000..574e915 --- /dev/null +++ b/debian/osmo-trx.install @@ -0,0 +1 @@ +/usr/bin/osmo-trx diff --git a/debian/rules b/debian/rules index 71e069c..3c805bb 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,5 @@ export DEB_BUILD_HARDENING=1 %: dh $@ --with autoreconf -# ugly hack to workaround broken library paths in uhd packages -override_dh_shlibdeps: - dh_shlibdeps -- --ignore-missing-info +override_dh_strip: + dh_strip --dbg-package=osmo-trx-dbg \ No newline at end of file diff --git a/debian/source/format b/debian/source/format index 46ebe02..9f67427 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) \ No newline at end of file +3.0 (native) \ No newline at end of file -- cgit v1.2.3