[pktools] 09/19: Generate symbols using pkgkde-symbolshelper.

Bas Couwenberg sebastic at xs4all.nl
Fri Nov 14 22:43:02 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository pktools.

commit 673d41867d1f04b1da66509388e668e3ffb9e7d2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Nov 8 23:28:37 2014 +0100

    Generate symbols using pkgkde-symbolshelper.
---
 debian/control |  3 ++-
 debian/rules   | 10 +++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index be50478..5ba6cbf 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,8 @@ Build-Depends: debhelper (>= 9),
                libfann-dev,
                liblas-c-dev,
                libsvm-dev,
-               libnlopt-dev
+               libnlopt-dev,
+               pkg-kde-tools
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/pktools.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/pktools.git
diff --git a/debian/rules b/debian/rules
index 8f0b720..40abd1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,12 +4,17 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+PKTOOLS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+
 ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
 	export DEB_CXXFLAGS_MAINT_APPEND := -I/usr/include/hdf5/serial
 endif
 
 %:
-	dh $@  --buildsystem autoconf --with autoreconf
+	dh $@ --buildsystem autoconf \
+	      --with autoreconf \
+	      --with pkgkde_symbolshelper \
+	      --parallel
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-fann --enable-las --enable-nlopt
@@ -23,3 +28,6 @@ override_dh_clean:
 override_dh_install:
 	dh_install --list-missing
 
+override_dh_makeshlibs:
+	dh_makeshlibs -- -v$(PKTOOLS_VERSION) -c0
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list