[med-svn] r7696 - trunk/packages/gdcm/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Sep 7 12:51:23 UTC 2011


Author: malat-guest
Date: 2011-09-07 12:51:22 +0000 (Wed, 07 Sep 2011)
New Revision: 7696

Modified:
   trunk/packages/gdcm/trunk/debian/rules
Log:
final touch. -3 is ready to go

Modified: trunk/packages/gdcm/trunk/debian/rules
===================================================================
--- trunk/packages/gdcm/trunk/debian/rules	2011-09-07 09:21:06 UTC (rev 7695)
+++ trunk/packages/gdcm/trunk/debian/rules	2011-09-07 12:51:22 UTC (rev 7696)
@@ -1,13 +1,13 @@
 #!/usr/bin/make -f
 
-# require to get dh_clideps
-include /usr/share/cli-common/cli.make
-
 # Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
+# to please dpkg-shlibdeps and java private libs in /usr/lib/jni
+export LD_LIBRARY_PATH+=:/usr/lib/jni
+
 %:
-	dh $@ --parallel --with=cli --with=python2
+	dh $@ --with cli --with python2 --parallel
 
 # Mono is not available for all Debian architectures.
 DEB_WRAP_CSHARP = 1
@@ -46,9 +46,6 @@
 override_dh_auto_configure:
 	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
 
-#override_dh_shlibdeps:
-#	# do nothing
-
 override_dh_install:
 	dh_install --list-missing
 
@@ -56,15 +53,17 @@
 	dh_auto_install
 	mv debian/tmp/usr/lib/python debian/tmp/$(PYMODDIR)
 
+override_dh_strip:
+	dh_strip --dbg-package=libgdcm2.0-dbg
+
 override_dh_clideps:
 ifeq ($(DEB_WRAP_CSHARP), 1)
 	dh_clideps
 endif
 
-# i cannot set documentation to separate build target as man page
+# TODO I cannot set documentation to separate build target as man page
 # depends on doc, and bin tools depends on man page
 #build-indep:
 #	$(MAKE) GDCMDoxygenDoc
-#
 #build-arch:
 #	$(MAKE)




More information about the debian-med-commit mailing list