[openblas] 05/07: Add a debug package.

Sébastien Villemot sebastien at debian.org
Tue Apr 28 18:31:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository openblas.

commit 9eb4557238ef16f4771499201774320c37d7aa31
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Tue Apr 28 20:15:15 2015 +0200

    Add a debug package.
    
    Closes: #783639
---
 debian/control | 16 ++++++++++++++++
 debian/rules   |  3 +++
 2 files changed, 19 insertions(+)

diff --git a/debian/control b/debian/control
index 02a6070..3ee13df 100644
--- a/debian/control
+++ b/debian/control
@@ -46,3 +46,19 @@ Description: Optimized BLAS (linear algebra) library based on GotoBLAS2
  .
  This package includes the static libraries and symbolic links
  needed for program development.
+
+Package: libopenblas-dbg
+Section: debug
+Priority: extra
+Architecture: amd64 armhf i386 powerpc ppc64 kfreebsd-i386 kfreebsd-amd64
+Depends: libopenblas-base (= ${binary:Version}), ${misc:Depends}
+Built-Using: ${Built-Using}
+Description: Optimized BLAS (linear algebra) library (debugging symbols)
+ OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
+ .
+ Unlike Atlas, OpenBLAS provides a multiple architecture library.
+ .
+ All kernel will be included in the library and dynamically switched to
+ the best architecture at run time (only on x86 arches).
+ .
+ This package includes the debugging symbols.
diff --git a/debian/rules b/debian/rules
index e983cdd..2ca001f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,5 +84,8 @@ override_dh_makeshlibs:
 override_dh_gencontrol:
 	dh_gencontrol -- -VBuilt-Using="`dpkg-query -W -f='$${source:Package} (= $${source:Version})' liblapack-pic`"
 
+override_dh_strip:
+	dh_strip --dbg-package=libopenblas-dbg
+
 get-orig-source:
 	-uscan --upstream-version 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openblas.git



More information about the debian-science-commits mailing list