[clblas] 02/05: d/{control,rules}: now follows debmake layout

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Sep 20 17:01:01 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.

commit f2e074a35335ce52dd49226301fa642f4a86a489
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Sep 19 10:30:13 2015 +0100

    d/{control,rules}: now follows debmake layout
---
 debian/control | 28 +++++++++++++++-------------
 debian/rules   |  8 ++++----
 2 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/debian/control b/debian/control
index f54e13c..7506827 100644
--- a/debian/control
+++ b/debian/control
@@ -14,11 +14,11 @@ Vcs-Git: git://anonscm.debian.org/debian-science/packages/clblas.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/clblas.git
 
 Package: libclblas-bin
-Multi-Arch: foreign
 Architecture: any
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         libclblas2 (= ${binary:Version})
+Multi-Arch: foreign
+Depends: libclblas2 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: OpenCL BLAS library (executables)
  This library provides an implementation of the Basic Linear Algebra 
  Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
@@ -29,8 +29,9 @@ Description: OpenCL BLAS library (executables)
 Package: libclblas-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends},
-         libclblas2 (= ${binary:Version})
+Multi-Arch: same
+Depends: libclblas2 (= ${binary:Version}),
+         ${misc:Depends}
 Suggests: libclblas-doc
 Description: OpenCL BLAS library (development files)
  This library provides an implementation of the Basic Linear Algebra 
@@ -42,9 +43,10 @@ Description: OpenCL BLAS library (development files)
 Package: libclblas-doc
 Section: doc
 Architecture: all
-Depends: ${misc:Depends},
-         libjs-jquery,
-         libjs-mathjax
+Multi-Arch: foreign
+Depends: libjs-jquery,
+         libjs-mathjax,
+         ${misc:Depends}
 Description: OpenCL BLAS library (documentation)
  This library provides an implementation of the Basic Linear Algebra 
  Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
@@ -56,9 +58,9 @@ Package: libclblas2
 Section: libs
 Architecture: any
 Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          ${shlibs:Depends} 
-Pre-Depends: ${misc:Pre-Depends}
 Description: OpenCL BLAS library (shared library)
  This library provides an implementation of the Basic Linear Algebra 
  Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
@@ -67,12 +69,12 @@ Description: OpenCL BLAS library (shared library)
  This package provides the clBLAS shared library.
 
 Package: libclblas2-dbg
-Section: debug
 Priority: extra
+Section: debug
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends},
-         libclblas2 (= ${binary:Version})
+Depends: libclblas2 (= ${binary:Version}),
+         ${misc:Depends}
 Description: OpenCL BLAS library (debugging symbols)
  This library provides an implementation of the Basic Linear Algebra 
  Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
diff --git a/debian/rules b/debian/rules
index 20a6a44..05fb595 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,10 +18,7 @@ DEB_CFLAGS_MAINT_APPEND += -mno-altivec
 endif
 
 %:
-	dh $@ --sourcedirectory=src \
-		--buildsystem=cmake \
-		--parallel \
-		--dbg-package=libclblas2-dbg
+	dh $@ --parallel --sourcedirectory=src
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
@@ -43,3 +40,6 @@ override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) -f doc/doxygen_sqlite3.db
 	$(RM) -rf doc/html
+
+override_dh_strip:
+	dh_strip --dbg-package=libclblas2-dbg

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



More information about the debian-science-commits mailing list