[med-svn] [libhmsbeagle] 01/02: Add missing symlink in dev package

Andreas Tille tille at debian.org
Thu Jan 28 08:55:30 UTC 2016


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

tille pushed a commit to branch master
in repository libhmsbeagle.

commit f6eaf92b0870973cfcd092ef4cbcad95e1c3f106
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jan 28 09:23:01 2016 +0100

    Add missing symlink in dev package
---
 debian/rules | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index c7530ea..20c6533 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ export DH_VERBOSE=1
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 lib := $(pkg)1v5
 use_sse := $(shell if [ `dpkg-architecture -qDEB_BUILD_ARCH` = amd64 ] ; then echo yes ; else echo no ; fi)
+BUILDGNUTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 %:
 	dh $@ --with autoreconf --with javahelper
@@ -32,11 +33,6 @@ override_dh_auto_clean:
 	rm -rf doc .config configure
 	rm -rf lib build
 
-# Does not help to fix the lintian issue ... hmmm
-#override_dh_shlibdeps:
-#	# somehow shlibdeps is not called for jni subdir
-#	dh_shlibdeps -- debian/$(pkg)1/usr/lib/jni/* debian/$(pkg)1/usr/lib/lib*
-
 override_dh_installdocs:
 	dh_installdocs
 	find debian/$(pkg)-dev -name jquery.js -delete
@@ -55,5 +51,9 @@ override_dh_auto_test:
 	make check VERBOSE=1
 endif
 
+override_dh_link:
+	dh_link
+	dh_link -plibhmsbeagle-dev libhmsbeagle-opencl.so.21 usr/lib/$(BUILDGNUTYPE)/libhmsbeagle-opencl.so
+
 get-orig-source:
 	. debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libhmsbeagle.git



More information about the debian-med-commit mailing list