[med-fichier] 05/10: Use cmake for build.

Anton Gladky gladk at alioth.debian.org
Tue Oct 15 19:14:08 UTC 2013


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

gladk pushed a commit to branch master
in repository med-fichier.

commit 540f80304aa9b2bade01c1ad78119a5f7e7b6b43
Author: Anton Gladky <gladk at debian.org>
Date:   Tue Oct 15 20:12:46 2013 +0200

    Use cmake for build.
---
 debian/control |    2 +-
 debian/rules   |   18 +-----------------
 2 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/debian/control b/debian/control
index 56dd931..ce6fd52 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders:
  Anton Gladky <gladk at debian.org>
 Build-Depends:
  debhelper (>= 9),
- dh-autoreconf,
+ cmake (>=2.8),
  gfortran,
  hdf5-tools (>= 1.8.8),
  libhdf5-mpi-dev (>= 1.8.8),
diff --git a/debian/rules b/debian/rules
index 120fe35..e3068d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,3 @@
 #!/usr/bin/make -f
 %:
-	dh $@  --parallel --with autoreconf
-
-override_dh_auto_configure:
-	dh_auto_configure -- F77="gfortran" 
-
-override_dh_auto_install:
-	dh_auto_install
-	rm -rf $(CURDIR)/debian/tmp/usr/bin/test* \
-	       $(CURDIR)/debian/tmp/usr/bin/usescases \
-         $(CURDIR)/debian/tmp/usr/bin/unittests
-
-enable_test_archs = amd64 i386 hurd-i386 ia64 kfreebsd-amd64 kfreebsd-i386
-
-ifeq (,$(filter $(DEB_HOST_ARCH),$(enable_test_archs)))
-override_dh_auto_test:
-	
-endif
+	dh $@  --parallel --build-system=cmake

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



More information about the debian-science-commits mailing list