[arch-commits] Commit in parallel-netcdf-openmpi/repos/community-x86_64 (3 files)

Bruno Pagani archange at archlinux.org
Mon May 21 14:52:05 UTC 2018


    Date: Monday, May 21, 2018 @ 14:52:04
  Author: archange
Revision: 326195

archrelease: copy trunk to community-x86_64

Added:
  parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD
    (from rev 326194, parallel-netcdf-openmpi/trunk/PKGBUILD)
  parallel-netcdf-openmpi/repos/community-x86_64/shared.patch
    (from rev 326194, parallel-netcdf-openmpi/trunk/shared.patch)
Deleted:
  parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD

--------------+
 PKGBUILD     |   90 +++++++++++++++++++++++++++++++--------------------------
 shared.patch |   11 ++++++
 2 files changed, 60 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 14:51:48 UTC (rev 326194)
+++ PKGBUILD	2018-05-21 14:52:04 UTC (rev 326195)
@@ -1,41 +0,0 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
-
-_pkg=parallel-netcdf
-_mpi=openmpi
-pkgname=${_pkg}-${_mpi}
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="A Parallel I/O Library for NetCDF File Access"
-arch=('x86_64')
-url="https://trac.mcs.anl.gov/projects/parallel-netcdf"
-license=('custom')
-depends=('openmpi')
-makedepends=('gcc-fortran')
-checkdepends=('inetutils')
-provides=('parallel-netcdf')
-conflicts=('parallel-netcdf')
-replaces=('parallel-netcdf')
-options=('!makeflags')
-source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz")
-sha1sums=('0978ae5cdaba925e73ced2b550fc02a132b2c5ed')
-
-build() {
-    cd ${_pkg}-${pkgver}
-
-    export CPPFLAGS="${CPPFLAGS} -fPIC"
-    ./configure --prefix=/usr #--enable-shared
-    make
-}
-
-check() {
-    cd ${_pkg}-${pkgver}
-    make check
-    make ptest
-}
-
-package() {
-    cd ${_pkg}-${pkgver}
-    make DESTDIR="${pkgdir}" install
-
-    install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}
-}

Copied: parallel-netcdf-openmpi/repos/community-x86_64/PKGBUILD (from rev 326194, parallel-netcdf-openmpi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-21 14:52:04 UTC (rev 326195)
@@ -0,0 +1,49 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+
+_pkg=parallel-netcdf
+_mpi=openmpi
+pkgname=${_pkg}-${_mpi}
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="A Parallel I/O Library for NetCDF File Access"
+arch=('x86_64')
+url="https://trac.mcs.anl.gov/projects/parallel-netcdf"
+license=('custom')
+depends=('openmpi')
+makedepends=('gcc-fortran')
+checkdepends=('inetutils')
+provides=('parallel-netcdf')
+conflicts=('parallel-netcdf')
+replaces=('parallel-netcdf')
+options=('!makeflags' 'staticlibs')
+source=("http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${_pkg}-${pkgver}.tar.gz"
+        'shared.patch')
+sha1sums=('0978ae5cdaba925e73ced2b550fc02a132b2c5ed'
+          'dae94c293b5be9fa31e73be95e4d56c1f598ffbf')
+
+prepare() {
+    cd ${_pkg}-${pkgver}
+    patch -p0 -i ../shared.patch
+}
+
+build() {
+    cd ${_pkg}-${pkgver}
+
+    export CPPFLAGS="${CPPFLAGS} -fPIC"
+    aclocal
+    ./configure --prefix=/usr --enable-shared
+    make
+}
+
+check() {
+    cd ${_pkg}-${pkgver}
+    make check
+    make ptest
+}
+
+package() {
+    cd ${_pkg}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/${_pkg}
+}

Copied: parallel-netcdf-openmpi/repos/community-x86_64/shared.patch (from rev 326194, parallel-netcdf-openmpi/trunk/shared.patch)
===================================================================
--- shared.patch	                        (rev 0)
+++ shared.patch	2018-05-21 14:52:04 UTC (rev 326195)
@@ -0,0 +1,11 @@
+--- src/libs/Makefile.am
++++ src/libs/Makefile.am
+@@ -44,7 +44,7 @@
+ libpnetcdf_la_LIBADD += ../binding/f90/libf90.la
+ # According to Automake Manual, Section 8.14.3 Mixing Fortran 77 With C and
+ # C++, adding $(FLIBS) is necessary
+-# libpnetcdf_la_LIBADD += $(FLIBS) $(FCLIBS)
++libpnetcdf_la_LIBADD += $(FLIBS) $(FCLIBS)
+ # nodist_EXTRA_libpnetcdf_la_SOURCES += dummyf90.f90
+ endif
+ 



More information about the arch-commits mailing list