From 0b5f9bc8ebc4feee29b46628bf817de54288c2cd Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 19 Sep 2012 22:13:34 +0200 Subject: [PATCH] Create a debug package --- debian/control | 12 ++++++++++++ debian/rules | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 753422b..c910149 100644 --- a/debian/control +++ b/debian/control @@ -13,3 +13,15 @@ Description: OSS Proxy Daemon: Userland OSS emulation OSS Proxy Daemon is a Linux userland OSS sound device (/dev/[a]dsp and /dev/mixer) implementation using CUSE. Currently it supports forwarding OSS sound streams to PulseAudio and ALSA. + +Package: osspd-dbg +Architecture: any +Depends: ${misc:Depends}, osspd (= ${binary:Version}) +Section: debug +Priority: extra +Description: OSS Proxy Daemon: Debugging symbols + OSS Proxy Daemon is a Linux userland OSS sound device (/dev/[a]dsp and + /dev/mixer) implementation using CUSE. Currently it supports + forwarding OSS sound streams to PulseAudio and ALSA. + . + This package contains the debugging symbols for the OSS Proxy Daemon. diff --git a/debian/rules b/debian/rules index ba13a35..2f99a91 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,13 @@ override_dh_auto_build: dh_auto_build -- SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR) override_dh_auto_install: - dh_auto_install -- prefix=/usr SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR) + dh_auto_install --destdir=debian/osspd -- prefix=/usr SLAVESDIR=$(SLAVESDIR) UDEVDIR=$(UDEVDIR) + +override_dh_strip: + dh_strip --dbg-package=osspd-dbg + +override_dh_installdocs: + dh_installdocs --link-doc=osspd # Disable tests, they require running the osspd override_dh_auto_test: -- 2.30.2