[med-svn] [fw4spl] 01/01: remove postinst and postrm scripts, and update d/rules to add private shared libs to rpath during install

Corentin Desfarges corentin-guest at moszumanska.debian.org
Fri Feb 20 13:20:34 UTC 2015


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

corentin-guest pushed a commit to branch master
in repository fw4spl.

commit 8a14f0e19720195b016ff682bc293ca65daf7953
Author: Corentin Desfarges <corentin.desfarges.dev at gmail.com>
Date:   Fri Feb 20 14:19:43 2015 +0100

    remove postinst and postrm scripts, and update d/rules to add private shared libs to rpath during install
---
 debian/postinst | 11 -----------
 debian/postrm   | 12 ------------
 debian/rules    | 23 +----------------------
 3 files changed, 1 insertion(+), 45 deletions(-)

diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 7202ac3..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
-	sh -c "echo '/usr/lib/fw4spl' > /etc/ld.so.conf.d/fw4spl.conf"
-fi
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/postrm b/debian/postrm
deleted file mode 100644
index 0aff44f..0000000
--- a/debian/postrm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ]; then
-	rm /etc/ld.so.conf.d/fw4spl.conf
-fi
-
-#DEBHELPER#
-
-
-exit 0
diff --git a/debian/rules b/debian/rules
index 7af8456..2bacc8e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,47 +3,26 @@
 # output every command that modifies files on the build system.
 #DH_VERBOSE = 1
 
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-# package maintainers to append LDFLAGS
-
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -Wl,-rpath=/usr/lib/fw4spl -ldl 
-DEB_BUILD_OPTIONS="parallel=8"
-
 # main packaging script based on dh7 syntax
 
 %:
 	dh $@ --parallel
 
 override_dh_auto_configure:
-	dh_auto_configure
+	dh_auto_configure -- -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE -DCMAKE_INSTALL_RPATH="/usr/lib/fw4spl"
 
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/fw4spl
 
 override_dh_auto_test:
 	echo "test disabled"
-	#debian/get_data.sh
-	#export FWTEST_DATA_DIR=../data
-	#xvfb-run dbus-launch dh_auto_test
 
 override_dh_shlibdeps:
 	dh_shlibdeps -v -l/usr/lib:/usr/lib/fw4spl:/usr/lib/fw4spl/Bundles:/usr/lib/fw4spl/Bundles/gui_0-1/:/usr/lib/fw4spl/Bundles:/usr/lib/fw4spl/Bundles/io_0-1/:/usr/lib/fw4spl/Bundles:/usr/lib/fw4spl/Bundles/ctrlSelection_0-1/:/usr/lib/fw4spl/Bundles/ioITK_0-1/
 
-# debmake generated override targets
-# This is example for Cmake (See http://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-#	dh_auto_configure -- \
-#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
 
 
 

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



More information about the debian-med-commit mailing list