[ecflow] 07/50: WIP: build system

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Sep 20 15:30:42 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository ecflow.

commit bc9234989da7f9f0ce714a3f78a3bedde2794819
Merge: bbfa782 c2b4484
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Jan 23 11:24:39 2017 +0000

    WIP: build system

 debian/changelog      |   5 ++
 debian/compat         |   1 +
 debian/control        |  29 ++++++++++
 debian/copyright      | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules          |  17 ++++++
 debian/source/options |   1 +
 6 files changed, 200 insertions(+)

diff --cc debian/control
index 0000000,cf8f4d7..cb74405
mode 000000,100644..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,0 -1,24 +1,29 @@@
+ Source: ecflow
+ Section: science
+ Priority: optional
+ Maintainer: Alastair McKinstry <mckinstry at debian.org>
+ Build-Depends: debhelper (>= 10), dh-buildinfo, cmake,
 -  libboost-dev, libhdf5-dev, chrpath
 -Build-Conflicts: libopenjpeg-dev, libgrib-api-dev
++  chrpath, libmotif-dev,
++  libqt5gui5, libqt5widgets5,libqt5core5a,libqt5network5,
++  libboost-test1.63-dev, 
++  libboost-regex1.63-dev, libboost-python1.63-dev, 
++  libboost-program-options1.63-dev, libboost-filesystem1.63-dev,
++  python-all-dev,
++  slurm-client
+ Standards-Version: 3.9.8
+ X-Python-Version: >= 2.7
+ Homepage: https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
+ Vcs-Git: git://anonscm.debian.org/collab-maint/eccodes.git
+ Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/eccodes.git
+ 
+ Package: ecflow
+ Architecture: any
+ Multi-Arch: same
+ Depends: ${shlibs:Depends}, ${misc:Depends}, libeccodes-data
+ Description: GRIB and BUFR enecoding/encoding software library
+  ecCodes is the ECMWF encoding/decoding software for GRIB and BUFR.
+  .
+  It is a replacement for the grib-api and emoslib libraries.
+  .
+  ECMWF is the European Centre for Medium-Range Weather Forecasts.
+ 
diff --cc debian/rules
index 0000000,181d3ba..debe525
mode 000000,100755..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,0 -1,12 +1,17 @@@
+ #!/usr/bin/make -f
+ 
+ export DH_VERBOSE=1
+ 
+ # The magic debhelper  rule
+ %:
 -	dh $@ --with autoreconf
++	dh $@ --buildsystem=cmake
+ 
+ DESTDIR:=`pwd`/debian/tmp/
+ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+ LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
+ 
++override_dh_auto_configure:
++	dh_auto_configure -- \
++                -DCMAKE_BUILD_TYPE=Release \
++		-DBOOST_INCLUDEDIR=/usr/include \
++		-DBOOSTROOT=$(LIBDIR)

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



More information about the debian-science-commits mailing list