update debian packaging

- deal with module renaming
- deal with upstream module renaming and additions
- enable MPI and add related dependencies
This commit is contained in:
Arne Morten Kvarving
2016-04-18 11:26:25 +02:00
parent fd99a9e6e9
commit 0155535079
7 changed files with 23 additions and 18 deletions
+3 -2
View File
@@ -8,6 +8,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export OMPI_MCA_plm_rsh_agent=/bin/false
%:
dh $@
@@ -20,10 +21,10 @@ override_dh_auto_build:
# consider using -DUSE_VERSIONED_DIR=ON if backporting
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-autodiff1 -DWHOLE_PROG_OPTIM=OFF -DUSE_RUNPATH=OFF
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DUSE_MPI=1 -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-simulators1 -DWHOLE_PROG_OPTIM=OFF -DUSE_RUNPATH=OFF
override_dh_auto_install:
dh_auto_install -- install-html
override_dh_installdocs:
dh_installdocs --link-doc=libopm-autodiff1
dh_installdocs --link-doc=libopm-simulators1