[pnetcdf] 01/08: Add pkgconfig support

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Dec 7 12:31:26 UTC 2016


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

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

commit e59e4cdf5df4a2b70073c6223cd51763dfe21c7c
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Feb 19 17:10:16 2016 +0000

    Add pkgconfig support
---
 debian/changelog               |  1 +
 debian/patches/pkgconfig.patch | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 36 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b7bf50c..c36245b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 pnetcdf (1.7.0~pre1-2) UNRELEASED; urgency=medium
 
   * Add dependency on libpnetcdf0d to -dev package.
+  * Add pkgconfig support
 
  -- Alastair McKinstry <mckinstry at debian.org>  Fri, 19 Feb 2016 06:15:51 +0000
 
diff --git a/debian/patches/pkgconfig.patch b/debian/patches/pkgconfig.patch
new file mode 100644
index 0000000..e4cca7f
--- /dev/null
+++ b/debian/patches/pkgconfig.patch
@@ -0,0 +1,34 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Add pkgconfig support
+Last-Updated: 2016-02-19
+Forwarded: no
+
+Index: pnetcdf-1.7.0~pre1/configure.in
+===================================================================
+--- pnetcdf-1.7.0~pre1.orig/configure.in
++++ pnetcdf-1.7.0~pre1/configure.in
+@@ -1124,6 +1124,7 @@ AC_SUBST(SEQ_CC)
+ AC_CONFIG_HEADERS([src/libf/nfconfig_inc])
+ AC_CONFIG_FILES(macros.make \
+                 Makefile \
++		 src/pkgconfig/pnetcdf.pc \
+                 src/Makefile \
+                 src/lib/Makefile \
+                 src/lib/pnetcdf.h \
+Index: pnetcdf-1.7.0~pre1/pnetcdf.pc.in
+===================================================================
+--- /dev/null
++++ pnetcdf-1.7.0~pre1/src/pkgconfig/pnetcdf.pc.in
+@@ -0,0 +1,12 @@
++prefix=/usr
++exec_prefix=${prefix}
++libdir=/usr/lib/@DEB_HOST_MULTIARCH@
++includedir=${prefix}/include/terralib
++
++Name: pnetcdf
++Description: Parallel NetCDF I/O library
++Version: @VERSION@
++Libs: -L${libdir} -lpnetcdf
++Cflags: -I${includedir}
++Depends: mpi-fort
++Libs.private: -lpnetcdf -lgfortran
diff --git a/debian/patches/series b/debian/patches/series
index 75564bd..be01504 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 destdir.patch
 manpages.patch
 hardening.patch
+pkgconfig.patch

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



More information about the debian-science-commits mailing list