From cf2c6ef9669fe2e4290adcae5fb4196508b6e2e8 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Fri, 1 Feb 2013 09:01:29 +0900 Subject: [PATCH] Add support libnfc4-dbg package Signed-off-by: Nobuhiro Iwamatsu --- debian/control | 15 +++++++++++++++ debian/rules | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/debian/control b/debian/control index 5d0456d..763d815 100644 --- a/debian/control +++ b/debian/control @@ -39,6 +39,21 @@ Description: Near Field Communication (NFC) library (development files) This package contains the header and development files needed to build programs and packages using libnfc. +Package: libnfc4-dbg +Section: debug +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, libnfc4 (= ${binary:Version}) +Description: Near Field Communication (NFC) library (debugging information) + libnfc is a library for Near Field Communication. It abstracts the + low-level details of communicating with the devices away behind an + easy-to-use high-level API. + It supports most hardware based on the NXP PN531, PN532 or PN533 + controller chips. + . + This package contains the debugging information. + Package: libnfc-bin Section: utils Architecture: any diff --git a/debian/rules b/debian/rules index fbdd8f3..fad10c8 100755 --- a/debian/rules +++ b/debian/rules @@ -27,3 +27,7 @@ override_dh_auto_configure: %: dh $@ --with autoreconf + +override_dh_strip: + dh_strip -plibnfc4 --dbg-package=libnfc4-dbg + dh_strip --remaining-packages