[ossim] 22/25: Using buildsystem for dh

Francesco Lovergine frankie at moszumanska.debian.org
Wed Mar 5 13:54:33 UTC 2014


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

frankie pushed a commit to branch master
in repository ossim.

commit c1b82825103e287a38eb820081b076cd23570e38
Author: Francesco Paolo Lovergine <frankie at debian.org>
Date:   Wed Mar 5 13:30:37 2014 +0100

    Using buildsystem for dh
---
 debian/rules | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2065628..9a08cab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,20 +12,15 @@ else
 endif
 
 %:
-	dh $@ 
+	dh $@ --buildsystem cmake \
+		  --sourcedirectory=$(CURDIR) \
+		  --builddirectory=$(CURDIR)/debian/build
 
 override_dh_auto_install:
 	-find debian/tmp/usr/share/ossim/templates -type f -exec chmod a-x {} \;
 	dh_auto_install
 
 # Add here any variable or target overrides you need.
-
-DEB_CONFIGURE_EXTRA_FLAGS = \
-		--prefix=/usr --datadir=/usr/share --includedir=/usr/include --with-jpeg=yes \
-        --with-libtiff= --with-geotiff= --with-openthreads= \
-		--enable-singleSharedOssimLibrary --enable-singleStaticOssimLibrary \
-		--with-freetype=/usr --with-mpi=no $(OPTFLAG) 
-
 CMAKE_OPTS = \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_MODULE_PATH=$(CURDIR)/CMakeModules \
@@ -42,8 +37,6 @@ CMAKE_OPTS = \
 	   -DGEOTIFF_INCLUDE_DIR=/usr/include/geotiff \
 	   -DGEOTIFF_LIBRARY=/usr/lib/libgeotiff.so
 
-
-
 override_dh_auto_configure:
 	[ -d debian/build ] || mkdir debian/build
 	[ ! -e CMakeCache.txt ] || rm CMakeCache.txt

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



More information about the Pkg-grass-devel mailing list