[SCM] Packaging for Eigen3. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. branch, master, updated. upstream/3.0.0-4-gd3468a2

Anton Gladky gladky.anton at gmail.com
Thu May 5 04:38:02 UTC 2011


The following commit has been merged in the master branch:
commit d3468a21792b480158d94ed21fd91e1a7034a2d0
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Thu May 5 06:37:47 2011 +0200

    Simplification of rules

diff --git a/debian/rules b/debian/rules
old mode 100644
new mode 100755
index 6490951..e9a5974
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,8 @@
 #! /usr/bin/make -f
-
 BUILDDIR = $(CURDIR)/debian/build
-INSTDIR = $(CURDIR)/debian/tmp
 
 %:
-	dh $@
-
-override_dh_auto_clean:
-	dh_clean 
-	rm -rf ${BUILDDIR}
-
-override_dh_auto_configure:
-	mkdir -p ${BUILDDIR}
-	cd ${BUILDDIR}; cmake ./../../ -DCMAKE_INSTALL_PREFIX=/usr
+	dh --buildsystem=cmake --builddirectory=${BUILDDIR} $@
 
 override_dh_installchangelogs:
 	dh_installchangelogs debian/Changelog_upstream
@@ -27,12 +17,8 @@ override_dh_auto_build:
 	ln -s /usr/share/javascript/jquery/jquery.js ${BUILDDIR}/doc/html/jquery.js
 	ln -s /usr/share/javascript/jquery/jquery.js ${BUILDDIR}/doc/html/unsupported/jquery.js
 
-override_dh_auto_install:
-	cd ${BUILDDIR}; make install DESTDIR=${INSTDIR}
-
 override_dh_auto_test:
 	echo -- Running tests. Even if one of them fails the build is not canceled.
 	-cat /proc/meminfo
 	-cat /proc/cpuinfo
 	cd ${BUILDDIR}; make check || true
-

-- 
Packaging for Eigen3. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.



More information about the debian-science-commits mailing list