summaryrefslogtreecommitdiff
path: root/sci-libs/h5hut
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/h5hut')
-rw-r--r--sci-libs/h5hut/Manifest5
-rw-r--r--sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch77
-rw-r--r--sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch12
-rw-r--r--sci-libs/h5hut/h5hut-1.99.13.ebuild38
-rw-r--r--sci-libs/h5hut/metadata.xml12
5 files changed, 144 insertions, 0 deletions
diff --git a/sci-libs/h5hut/Manifest b/sci-libs/h5hut/Manifest
new file mode 100644
index 000000000000..ad6e68ddde9c
--- /dev/null
+++ b/sci-libs/h5hut/Manifest
@@ -0,0 +1,5 @@
+AUX h5hut-1.99.13-autotools.patch 2809 SHA256 4a77a7382f240ce79d05ca923c36d58501e70d359bd9c095c46032f02dc3c9eb SHA512 05200ef8073c1c39e322015e9d4b9764c470336f704c8f86e056d1936de669f256c64baf94307d84f4574d1204f914abffa9b134942e354f474c51dc0b78c05c WHIRLPOOL 84766b04f9941e03b680effb63b8ac2fe677d1bdd181b8e2078f8cea4fc0413fe6813f1f7984bfeb50f5ae452843f17be156f92aa020890006e0a6eac070d0c0
+AUX h5hut-1.99.13-mpio.patch 574 SHA256 90b5df7a473edbfa18df17bbbb1c3a75d0c857a2402db037f431bfcef61eccd2 SHA512 9335f2d84c4353123e1c1af5f82a729322cacd6f0bfa95ccbe042b76693f035c5b2860d788d31063299e3705addd6160b4b985be88beba341bee56a397387919 WHIRLPOOL de497c64b08f123488cabb8ec1e377f8084f48b2e33838610688b80a2cacf60241e73dca20df31c26a75caed3b906ab1593bc86fba9b96ceea3406b09002b947
+DIST H5hut-1.99.13.tar.gz 3029357 SHA256 3dc76e00a0cbce718dfde3a59955fa6b69148bfbaac3a500d4a6799db24880c5 SHA512 c2590795c45ecf5e642308f5b36c4e573fdcbb6e985f5867c13fd9e1f0ddd9b48fbc423ad0165b8f047256e42a1eb54d508c9322a593bcfad3a2769547d2887a WHIRLPOOL a4d2f0aa8715010968605e260319a5502bbbaa1df9770100292065af5c2283108a7a3ff397c65595e6b68b1111f8f40715964d6efd1f7f5646734cfa22aeb8d6
+EBUILD h5hut-1.99.13.ebuild 726 SHA256 c5283665724e9d27d3935ab0b943a554cfccad15f9b87289e7878850c736acf5 SHA512 1c89b5d2554f5aa1e0365d1591fcf76632fd965a0db6ca580b1be26f23761f617530fb01d554bcdf27c259858bc02e9cd263a189bf5beebec9b678bc42fa255b WHIRLPOOL e1ceb7d59d47085837af6bf973753222028d072171e675684bd4a3ae7f23ea0602e70976736ea54ea192c3e9c7ddc9b4abe655e1b22ae2309610723c0ec78c55
+MISC metadata.xml 367 SHA256 ac8d9fb591cb385322c5b19e610391ed7c6df9554f4901b3789e0b0410533d37 SHA512 455c79e8837ba1ed980967e3236d4a0ac0edbd1b88b056a06d715894e03e7fc802079440752e60a06c9ce4acb62fd68d4020a7847a154a14065afd995257f685 WHIRLPOOL 7b8aae6b6e9c08408300de466754b331e1ec556f8dc4fcc11c22069e913d2d600c2b7dc2d9a5ee5de84c472540cc78aeac1b4a3b0abbc92a539cdbbb6ca30c37
diff --git a/sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch b/sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch
new file mode 100644
index 000000000000..262aa61461a3
--- /dev/null
+++ b/sci-libs/h5hut/files/h5hut-1.99.13-autotools.patch
@@ -0,0 +1,77 @@
+diff -Naur H5hut-1.99.13.orig/src/Fortran/Makefile.am H5hut-1.99.13/src/Fortran/Makefile.am
+--- H5hut-1.99.13.orig/src/Fortran/Makefile.am 2017-07-02 16:46:44.899690038 -0600
++++ H5hut-1.99.13/src/Fortran/Makefile.am 2017-07-02 16:53:46.414587073 -0600
+@@ -49,9 +49,6 @@
+ awk '/INTEGER\*8 :: /{print "\t" $$0}' $^ >$@
+ awk '/PARAMETER /{print "\t" $$0}' $^ >> $@
+ awk '/INTEGER\*8 FUNCTION/{print "\t" $$1 " " $$3}' $^ >>$@
+-
+-all-local: $(top_srcdir)/src/include/H5hutF.h
+- $(INSTALL) -m644 .libs/libH5hutF.a $(top_srcdir)/src/lib
+ endif
+
+ clean: clean-am
+diff -Naur H5hut-1.99.13.orig/src/h5core/Makefile.am H5hut-1.99.13/src/h5core/Makefile.am
+--- H5hut-1.99.13.orig/src/h5core/Makefile.am 2017-07-02 16:46:44.899690038 -0600
++++ H5hut-1.99.13/src/h5core/Makefile.am 2017-07-02 16:58:03.017839542 -0600
+@@ -89,15 +89,10 @@
+
+ libH5hut_la_LDFLAGS = -version-info 2:0:0
+
+-all-local:
+- $(INSTALL) -m0755 -d $(top_builddir)/src/lib
+- $(INSTALL) -m644 .libs/libH5hut.a $(top_builddir)/src/lib
+-
+ install-exec-local:
+ @$(INSTALL) -d $(DESTDIR)$(includedir)/h5core
+ @$(INSTALL) -m644 $(top_srcdir)/src/include/h5core/*.h $(DESTDIR)$(includedir)/h5core/
+
+ clean-local:
+- $(RM) -f $(top_srcdir)/src/lib/libH5hut.*
+ $(RM) -f *~
+
+diff -Naur H5hut-1.99.13.orig/test/Makefile.am H5hut-1.99.13/test/Makefile.am
+--- H5hut-1.99.13.orig/test/Makefile.am 2017-07-02 16:46:44.919690283 -0600
++++ H5hut-1.99.13/test/Makefile.am 2017-07-02 16:58:01.297818301 -0600
+@@ -1,10 +1,9 @@
+ # test level Makefile.am
+
+ AM_CPPFLAGS += -I$(top_srcdir)/src/include
+-AM_LDFLAGS += -L${abs_top_builddir}/src/lib
+
+ LDADD =
+-LDADD += -lH5hut
++LDADD += ../src/h5core/libH5hut.la
+
+ noinst_PROGRAMS =
+
+diff -Naur H5hut-1.99.13.orig/tools/Makefile.am H5hut-1.99.13/tools/Makefile.am
+--- H5hut-1.99.13.orig/tools/Makefile.am 2017-07-02 16:46:44.919690283 -0600
++++ H5hut-1.99.13/tools/Makefile.am 2017-07-02 16:59:30.228916458 -0600
+@@ -8,10 +8,9 @@
+
+ AM_CPPFLAGS += -I${abs_top_builddir}/src/include -Wno-deprecated
+ FFLAGS += -cpp $(AM_CPPFLAGS)
+-AM_LDFLAGS += -L${abs_top_builddir}/src/lib
+
+ LDADD =
+-LDADD += -lH5hut
++LDADD += ../src/h5core/libH5hut.la
+
+ if ENABLE_C
+ EXTRA_SCRIPTS = # h5hutcc
+diff -Naur H5hut-1.99.13.orig/tools/vtk2h5grid/Makefile.am H5hut-1.99.13/tools/vtk2h5grid/Makefile.am
+--- H5hut-1.99.13.orig/tools/vtk2h5grid/Makefile.am 2017-07-02 16:46:44.919690283 -0600
++++ H5hut-1.99.13/tools/vtk2h5grid/Makefile.am 2017-07-02 16:58:58.978530564 -0600
+@@ -1,10 +1,9 @@
+ AM_CPPFLAGS = -I${abs_top_srcdir}/src/include -Wno-deprecated
+ FFLAGS += -cpp $(AM_CPPFLAGS)
+-LDFLAGS += -L${abs_top_builddir}/src/lib
+
+ LDADD =
+
+-LDADD += -lH5hut -lvtkIO -lvtkFiltering -lvtkCommon -lvtksys -lpthread -ldl
++LDADD += ../src/h5core/libH5hut.la -lvtkIO -lvtkFiltering -lvtkCommon -lvtksys -lpthread -ldl
+
+
+ bin_PROGRAMS =
diff --git a/sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch b/sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch
new file mode 100644
index 000000000000..a94c8e59000f
--- /dev/null
+++ b/sci-libs/h5hut/files/h5hut-1.99.13-mpio.patch
@@ -0,0 +1,12 @@
+diff -Naur H5hut-1.99.13.orig/src/h5core/h5_hdf5_private.h H5hut-1.99.13/src/h5core/h5_hdf5_private.h
+--- H5hut-1.99.13.orig/src/h5core/h5_hdf5_private.h 2017-07-02 16:46:44.899690038 -0600
++++ H5hut-1.99.13/src/h5core/h5_hdf5_private.h 2017-07-02 16:47:16.550080867 -0600
+@@ -934,7 +934,7 @@
+ HDF5_WRAPPER_ENTER (h5_err_t,
+ "fapl_id=%d, comm=..., use_gpfs=%d",
+ fapl_id, (int)use_gpfs);
+- if ( H5Pset_fapl_mpiposix (fapl_id, comm, use_gpfs) < 0)
++ if ( H5Pset_fapl_mpio (fapl_id, comm, use_gpfs) < 0)
+ HDF5_WRAPPER_LEAVE (
+ h5_error (
+ H5_ERR_HDF5,
diff --git a/sci-libs/h5hut/h5hut-1.99.13.ebuild b/sci-libs/h5hut/h5hut-1.99.13.ebuild
new file mode 100644
index 000000000000..5eca8e34f1dc
--- /dev/null
+++ b/sci-libs/h5hut/h5hut-1.99.13.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+MY_P="${P^h}"
+DESCRIPTION="High-Performance I/O Library for Particle-based Simulations"
+HOMEPAGE="http://www-vis.lbl.gov/Research/H5hut/"
+SRC_URI="https://amas.psi.ch/H5hut/raw-attachment/wiki/DownloadSources/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ virtual/mpi
+ sci-libs/hdf5[mpi]
+ "
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-mpio.patch"
+ "${FILESDIR}/${P}-autotools.patch"
+ )
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf --enable-parallel --enable-shared --disable-static CC=mpicc CXX=mpicxx
+}
diff --git a/sci-libs/h5hut/metadata.xml b/sci-libs/h5hut/metadata.xml
new file mode 100644
index 000000000000..903883b48f16
--- /dev/null
+++ b/sci-libs/h5hut/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>junghans@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>