aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxpahos <xpahos@yandex-team.ru>2017-05-23 22:11:58 +0300
committerxpahos <xpahos@yandex-team.ru>2017-05-23 22:11:58 +0300
commite57b43b93a2a7ca7c9ae096571d83292d629bf8c (patch)
treec0df7ab9b86784ec6477940d299ba63c6ed5b6c8
parent3a4402855c144db0ffe649604e239e0490233e45 (diff)
Debian debug package
-rw-r--r--debian/control11
-rwxr-xr-xdebian/rules5
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 50172c1..66ca6f5 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: tinyalsa
Section: sound
Priority: optional
Maintainer: Taylor Holberton <taylorcholberton@gmail.com>
-Build-Depends: debhelper, doxygen
+Build-Depends: debhelper (>=7.0.50), doxygen
Vcs-Git: git://github.com/tinyalsa/tinyalsa
Vcs-Browser: https://github.com/tinyalsa/tinyalsa
Standards-Version: 3.9.7
@@ -35,3 +35,12 @@ Depends: libtinyalsa,
Description: Development files for the TinyALSA library.
The TinyALSA library is a lightweight, bare metal version of the ALSA library.
+Package: libtinyalsa-dbg
+Architecture: any
+Multi-Arch: same
+Section: debug
+Depends: libtinyalsa,
+ ${misc:Depends}
+Description: Debug files for the TinyALSA library.
+ The TinyALSA library is a lightweight, bare metal version of the ALSA library.
+
diff --git a/debian/rules b/debian/rules
index 92623f9..7daeb27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,11 @@ override_dh_auto_install: $(PREPROCESS_FILES:.in=)
.PHONY: override_dh_auto_test
override_dh_auto_test:
+
+.PHONY: override_dh_strip
+override_dh_strip:
+ dh_strip --dbg-package=libtinyalsa-dbg
+
%:
dh $@