From: Ralf Jung Date: Wed, 19 Sep 2012 20:13:34 +0000 (+0200) Subject: Create a debug package X-Git-Tag: debian/1.3.2-1~1 X-Git-Url: https://git.ralfj.de/osspd.git/commitdiff_plain/0b5f9bc8ebc4feee29b46628bf817de54288c2cd?hp=ac27fd0bdc63f76095333cc51bbef8625e429a5a Create a debug package --- 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: