add debian packaging

This commit is contained in:
Arne Morten Kvarving 2013-10-22 13:01:41 +02:00
parent cdfeb8c69e
commit 5a9347ff1a
11 changed files with 111 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
opm-autodiff (2013.10-2~precise) precise; urgency=low
* New release
-- Arne Morten Kvarving <arne.morten.kvarving@sintef.no> Mon, 14 Oct 2013 11:54:10 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

53
debian/control vendored Normal file
View File

@ -0,0 +1,53 @@
Source: opm-autodiff
Priority: extra
Maintainer: Arne Morten Kvarving <arne.morten.kvarving@sintef.no>
Build-Depends: build-essential, debhelper (>= 9), libboost-filesystem-dev,
libboost-system-dev, libboost-date-time-dev, libboost-test-dev,
libsuperlu3-dev, gfortran, libsuitesparse-dev, pkg-config,
libdune-common-dev, libdune-istl-dev, cmake, libtinyxml-dev, bc,
libert.ecl-dev, git, zlib1g-dev, libtool, doxygen,
texlive-latex-extra, texlive-latex-recommended, ghostscript,
libopm-core-dev, libeigen3-dev (>= 3.1.3)
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
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
Utilities for automatic differentiation and simulators based on AD.
Package: libopm-autodiff1
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
Utilities for automatic differentiation and simulators based on AD.
Package: libopm-autodiff1-bin
Section: science
Pre-Depends: ${misc:Pre-Depends}, multiarch-support
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: libopm-autodiff-bin
Description: OPM auto differentation library -- applications
Utilities for automatic differentiation and simulators based on AD.
Package: libopm-autodiff1-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Provides: libopm-autodiff-doc
Description: OPM auto differentation library -- documentation
Utilities for automatic differentiation and simulators based on AD.

13
debian/copyright vendored Normal file
View File

@ -0,0 +1,13 @@
License: GPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
README.md

1
debian/libopm-autodiff1-bin.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/*

5
debian/libopm-autodiff1-dev.install vendored Normal file
View File

@ -0,0 +1,5 @@
usr/include/*
usr/lib/*/lib*.so
usr/lib/dunecontrol/*
usr/lib/*/pkgconfig/*
usr/share/cmake/*

1
debian/libopm-autodiff1-doc.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/*

1
debian/libopm-autodiff1.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/lib*.so.*

29
debian/rules vendored Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_clean:
dh_auto_clean --buildsystem=cmake
override_dh_auto_build:
dh_auto_build --buildsystem=cmake
# 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
override_dh_auto_install:
dh_auto_install -- install-html
override_dh_installdocs:
dh_installdocs --link-doc=libopm-autodiff1

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
1.0