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-15 16:08:27 +02:00
parent fd99a9e6e9
commit 0155535079
7 changed files with 23 additions and 18 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
opm-autodiff (2013.10-2~precise) precise; urgency=low
opm-simulators (2013.10-2~precise) precise; urgency=low
* New release

34
debian/control vendored
View File

@ -1,4 +1,4 @@
Source: opm-autodiff
Source: opm-simulators
Priority: extra
Maintainer: Arne Morten Kvarving <arne.morten.kvarving@sintef.no>
Build-Depends: build-essential, debhelper (>= 9), libboost-filesystem-dev,
@ -9,47 +9,51 @@ Build-Depends: build-essential, debhelper (>= 9), libboost-filesystem-dev,
texlive-latex-extra, texlive-latex-recommended, ghostscript,
libopm-core-dev, libeigen3-dev (>= 3.2.0), libopm-material-dev,
libopm-parser-dev, libboost-iostreams-dev, libopm-common-dev,
libdune-cornerpoint-dev, libdune-grid-dev, libug-dev
libopm-grid-dev, libdune-grid-dev, libug-dev, libopm-output-dev,
libtrilinos-zoltan-dev, libopenmpi-dev, mpi-default-bin
Standards-Version: 3.9.2
Section: libs
Homepage: http://opm-project.org
Vcs-Git: git://github.com/OPM/opm-autodiff.git
Vcs-Browser: https://github.com/OPM/opm-autodiff
Package: libopm-autodiff1-dev
Package: libopm-simulators1-dev
Section: libdevel
Architecture: any
Multi-Arch: foreign
Depends: libopm-autodiff1 (= ${binary:Version})
Provides: libopm-autodiff-dev
Suggests: libopm-autodiff1-doc
Description: OPM auto differentation library -- development files
Depends: libopm-simulators1 (= ${binary:Version})
Provides: libopm-simulators-dev
Suggests: libopm-simulators1-doc
Replaces: libopm-autodiff1-dev
Description: OPM simulators library -- development files
Utilities for automatic differentiation and simulators based on AD.
Package: libopm-autodiff1
Package: libopm-simulators1
Section: libs
Pre-Depends: ${misc:Pre-Depends}, multiarch-support
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: libopm-autodiff
Description: OPM auto differentation library
Provides: libopm-simulators
Description: OPM simulators library
Utilities for automatic differentiation and simulators based on AD.
Package: libopm-autodiff1-bin
Package: libopm-simulators1-bin
Section: science
Pre-Depends: ${misc:Pre-Depends}, multiarch-support
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: libopm-autodiff-bin
Provides: libopm-simulators-bin
Replaces: libopm-autodiff1-bin
Description: OPM auto differentation library -- applications
Utilities for automatic differentiation and simulators based on AD.
OPM Simulators.
Package: libopm-autodiff1-doc
Package: libopm-simulators1-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Provides: libopm-autodiff-doc
Provides: libopm-simulators-doc
Replaces: libopm-autodiff1-doc
Description: OPM auto differentation library -- documentation
Utilities for automatic differentiation and simulators based on AD.

5
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,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