update debian packaging

- README file was renamed
- build with MPI enabled and add related dependencies
This commit is contained in:
Arne Morten Kvarving 2016-04-18 11:02:56 +02:00
parent 6d9ae3f050
commit 34ee734737
3 changed files with 4 additions and 3 deletions

2
debian/control vendored
View File

@ -8,7 +8,7 @@ Build-Depends: build-essential, debhelper (>= 9), libboost-filesystem-dev,
libert.ecl-dev, git, zlib1g-dev, libtool, doxygen, libopm-parser-dev,
libopm-material-dev, texlive-latex-extra, texlive-latex-recommended,
ghostscript, libboost-iostreams-dev, libopm-common-dev,
libopm-material-dev
libopm-material-dev, libopenmpi-dev, mpi-default-bin, libtrilinos-zoltan-dev
Standards-Version: 3.9.2
Section: libs
Homepage: http://opm-project.org

2
debian/docs vendored
View File

@ -1,2 +1,2 @@
README
README.md
COPYING

3
debian/rules vendored
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,7 +21,7 @@ override_dh_auto_build:
# consider using -DUSE_VERSIONED_DIR=ON if backporting
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSTRIP_DEBUGGING_SYMBOLS=ON -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-core1 -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_MPI=1 -DSTRIP_DEBUGGING_SYMBOLS=ON -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-core1 -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF
override_dh_auto_install:
dh_auto_install -- install-html