summaryrefslogtreecommitdiff
path: root/sci-libs/nemesis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/nemesis
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/nemesis')
-rw-r--r--sci-libs/nemesis/Manifest9
-rw-r--r--sci-libs/nemesis/files/nemesis-5.22b-multilib.patch57
-rw-r--r--sci-libs/nemesis/files/nemesis-6.09-multilib.patch53
-rw-r--r--sci-libs/nemesis/metadata.xml23
-rw-r--r--sci-libs/nemesis/nemesis-5.24.ebuild47
-rw-r--r--sci-libs/nemesis/nemesis-6.09.ebuild47
6 files changed, 236 insertions, 0 deletions
diff --git a/sci-libs/nemesis/Manifest b/sci-libs/nemesis/Manifest
new file mode 100644
index 000000000000..f3593a77f5fb
--- /dev/null
+++ b/sci-libs/nemesis/Manifest
@@ -0,0 +1,9 @@
+AUX nemesis-5.22b-multilib.patch 1885 SHA256 54045fa277eb349ae3c308ca10e1c8b358e5c5d95e37132c504ca49fec5b8085 SHA512 d068f9d2f35b306fe9c57b41a065c8c6aea85bfa1f0b4d42c538a17c3563840c014cc0b0f93da79a5bfd98d5c8e6007d6f99d03e92aa534278b90871e7da663d WHIRLPOOL 20269e21e7d7e3f8f0c227d06c4e5a6ee3961b7d0577fd3c736d479494a602a5e679ef472e74392968dc37c7ac67807544bbef92522fd19f4b724da18da710b2
+AUX nemesis-6.09-multilib.patch 1649 SHA256 8f78e764726eab183c86b7f7b23ccb5e29dd7d7b50648977dc9172825b9999b3 SHA512 db01d3afe33bc2f30868e5ceceb4fbe5a0eb10c08b39a72f2d3cb0d363eb837c79bd62e4590a0013602419ecfcb6dcc33eaf656e670d2b25600409e8b07890e7 WHIRLPOOL 9bfb5690fa935aa8fdb4248a54a6952ed35772944fbc802800ba6170a78a30f6635c55bbf36cc6585c80520767b5d8205fee5272313a7ec659dfb5f4947025d2
+DIST exodus-5.24.tar.bz2 4252980 SHA256 c16a70c0572341c7e680f8d6420c79e1fd744ba717dc4f7e023f7421c636515d SHA512 d31cf17d2112b625259a70a7f73609323b94a3eed77be3b09961e67518d1b8caf82617a18f8c651fa6549988aa9a02455aea04402463b4fb7e66dd4e15b7e87e WHIRLPOOL 5a622fce123d55187c0895934db76c2cfb3ab2e83e13d6f5b6655c388e7cac1107acaa786b75be5275de7398035a5604d0be2975c78da05edbdaa4f8efbf9513
+DIST exodus-6.09.tar.gz 4757028 SHA256 e14db4c1e2ca893c4602055036b827b8332746439f0869489fdc677058faebe8 SHA512 a48c02952b0edfae416e9b3f77471558dd2d60177471eca3de32890d11afabe3cfb64396de83e728327d43bbea83969ebcdd8ea516a3b9a6ed7353d4cc940516 WHIRLPOOL 97426e487c8f6ae31da4be36f3712ade99eb7e31feb67d3989153dadc394b427b8e38976f06e99c153fae3d04b05357b48b0b537ff0c04fb8199b9aaeb27bcc4
+EBUILD nemesis-5.24.ebuild 1073 SHA256 c5407e25b2c14df851cfd21e54b5c520f466bf8949f48b94f324919b7e1d8dbc SHA512 181b306208310225bd22dc328f7dc40c49279ff70a8b504063df2031a5e6ce4eae91b68d54699d6d39a8ba4f72738668dad71b17c0977eaa85dd741039e6bab6 WHIRLPOOL 84fe892784426423438905e5e9740c1f9ed8c7f0143e45384c80000e0f6fdfa1f351a430d37cbbf82a3f3570aa370fd991375ad18e4c665e8f756845babd002d
+EBUILD nemesis-6.09.ebuild 994 SHA256 a50e104b9c5823b5de38d8088fb5b8f7e390dc826584b69f1efae7c01225b914 SHA512 e9e6e4c3d6c56816144f2d3ef8104a452fa042ec97484b619b0b4c9dee614896a41b89e6625c6c5dbbd57f041ff90ed9e53e3b863417620c7ff5ac0805153ac7 WHIRLPOOL 41a316678822a7547b74ed8f946c2d7f88bd09b3fcbc861104e9752709379956ca4d39bdd1821c307f82c682617322ffc3e24ca9e1aebd8a36cd8079a982ff2c
+MISC ChangeLog 3022 SHA256 9bd3e5af3db1ed3d1f9826d975a802dc2234e29ced37ab5e8bb9b5642ef0994c SHA512 2b9787f06ea9ac06bcd08b4358c4968f8ed1f1936e45c6b23bcbb9d0f326e57a49a57d7f7a1bdbecacb0401059283d9625f4240793b229fbaec9d4d6ff99e8aa WHIRLPOOL c5a59700c07f8924dcc4f3bdcf4db02dba0a4a0c2e5c815cf7a5a5098e31e1bccb85aae00a70d98027d4e1eededdaa20dff2c646c5a41cdd6089c5400a885fb1
+MISC ChangeLog-2015 570 SHA256 faedc18241d9a19dfb4acd0d107d51ef9db65690ffbc1f779089330b80d082dd SHA512 f421a7feb70d8fb09e30e9e112d6f238b6f946869f6df4ceb6606c8e950f87a4f73655b0f776ce57170cf7e4e3ebc63ecd52ee8a258b1f54a2ec88a5ccbc87b2 WHIRLPOOL 9c9fcb9df27569588cd5c40f8511c9850d3c0b15c99d84f670be4d849b3d7f477016315dbbef6eccffefbe28994fc928e7ea5a895dd9f2693d8c9673f9f7975f
+MISC metadata.xml 1055 SHA256 e0918972f38e9df06449110b1a42c9ab83f3595753b16ed2e14191f416b07769 SHA512 bf7702146727a7449c7a0988d64f0036809e3688801a2cca42a8f7a442e4f1f204c0101e50c3ffc98e4a04ee13cc01105c12bad3a480a0179574ae4d1ff6ac14 WHIRLPOOL 72acbbe7f1dd54facb0d189dc1dac18b5507d4ee7c6ec295d3028fc7663eaef55afbbc23e8b71eced013b7f978e251d0ed7cc3723d41a1306ad44d83e79b09a9
diff --git a/sci-libs/nemesis/files/nemesis-5.22b-multilib.patch b/sci-libs/nemesis/files/nemesis-5.22b-multilib.patch
new file mode 100644
index 000000000000..b99add01ea56
--- /dev/null
+++ b/sci-libs/nemesis/files/nemesis-5.22b-multilib.patch
@@ -0,0 +1,57 @@
+ nemesis/CMakeLists.txt | 15 ++++++++-------
+ 1 file changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/nemesis/CMakeLists.txt b/nemesis/CMakeLists.txt
+index 64aff5d..bed5ede 100644
+--- a/nemesis/CMakeLists.txt
++++ b/nemesis/CMakeLists.txt
+@@ -19,7 +19,7 @@ find_path( NETCDF_INCLUDE_DIR netcdf.h
+ find_library( NETCDF_LIBRARY netcdf
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ )
+
+@@ -29,16 +29,17 @@ find_program (NETCDF_NCDUMP ncdump
+ $ENV{NETCDF_DIR}/ncdump
+ )
+
+-find_library( EXODUS_LIBRARY exodus
++find_library( EXODUS_LIBRARY exoIIv2c
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
++ $ENV{EXODUS_DIR}/${CMAKE_INSTALL_LIBDIR}
+ )
+
+ # Hack for HDF5
+ find_library( HDF5_LIBRARY hdf5
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+@@ -46,7 +47,7 @@ find_library( HDF5_LIBRARY hdf5
+ find_library( HDF5HL_LIBRARY hdf5_hl
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+@@ -79,8 +80,8 @@ ADD_EXECUTABLE(ne_test ne_ctest_wrap.c)
+ TARGET_LINK_LIBRARIES( ne_test nemesis ${EXODUS_LIBRARY} ${NETCDF_LIBRARY} ${HDF5HL_LIBRARY} ${HDF5_LIBRARY} ${Z_LIBRARY} ${MATH_LIBRARY})
+
+ INSTALL(TARGETS nemesis
+- RUNTIME DESTINATION lib COMPONENT Runtime
+- LIBRARY DESTINATION lib COMPONENT Runtime
+- ARCHIVE DESTINATION lib COMPONENT Development)
++ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development)
+ INSTALL(FILES ${HEADERS} DESTINATION include COMPONENT Development)
+
diff --git a/sci-libs/nemesis/files/nemesis-6.09-multilib.patch b/sci-libs/nemesis/files/nemesis-6.09-multilib.patch
new file mode 100644
index 000000000000..d0f05f23a2d2
--- /dev/null
+++ b/sci-libs/nemesis/files/nemesis-6.09-multilib.patch
@@ -0,0 +1,53 @@
+ nemesis/CMakeLists.txt | 15 ++++++++-------
+ 1 file changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/nemesis/CMakeLists.txt b/nemesis/CMakeLists.txt
+index 64aff5d..bed5ede 100644
+--- a/nemesis/CMakeLists.txt
++++ b/nemesis/CMakeLists.txt
+@@ -19,7 +19,7 @@
+ find_library( NETCDF_LIBRARY netcdf
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ )
+
+@@ -33,13 +33,14 @@
+ ../exodusii/cbind/
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
++ $ENV{EXODUS_DIR}/${CMAKE_INSTALL_LIBDIR}
+ )
+
+ # Hack for HDF5
+ find_library( HDF5_LIBRARY hdf5
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+@@ -47,7 +48,7 @@
+ find_library( HDF5HL_LIBRARY hdf5_hl
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+@@ -80,8 +81,8 @@
+ TARGET_LINK_LIBRARIES( ne_test nemesis ${EXODUS_LIBRARY} ${NETCDF_LIBRARY} ${HDF5HL_LIBRARY} ${HDF5_LIBRARY} ${Z_LIBRARY} ${MATH_LIBRARY})
+
+ INSTALL(TARGETS nemesis
+- RUNTIME DESTINATION lib COMPONENT Runtime
+- LIBRARY DESTINATION lib COMPONENT Runtime
+- ARCHIVE DESTINATION lib COMPONENT Development)
++ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development)
+ INSTALL(FILES ${HEADERS} DESTINATION include COMPONENT Development)
+
diff --git a/sci-libs/nemesis/metadata.xml b/sci-libs/nemesis/metadata.xml
new file mode 100644
index 000000000000..9599a858f64b
--- /dev/null
+++ b/sci-libs/nemesis/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+NEMESIS is an enhancement to the EXODUSII finite element database
+model used to store and retrieve data for unstructured parallel finite
+element analyses. NEMESIS adds data structures which facilitate the
+partitioning of a scalar (standard serial) EXODUSII file onto parallel
+disk systems found on many parallel computers. Since the NEMESIS
+application programming interface (API) can be used to append
+information to an existing EXODUSII database, any existing software
+that reads EXODUSII files can be used on files which contain NEMESIS
+information. The NEMESIS information is written and read via C or C++
+callable functions which compromise the NEMESIS I API.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">exodusii</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-libs/nemesis/nemesis-5.24.ebuild b/sci-libs/nemesis/nemesis-5.24.ebuild
new file mode 100644
index 000000000000..7a5a5b95805c
--- /dev/null
+++ b/sci-libs/nemesis/nemesis-5.24.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+MY_PN="exodus"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Enhancement to the EXODUSII finite element database model"
+HOMEPAGE="https://sourceforge.net/projects/exodusii/"
+SRC_URI="mirror://sourceforge/project/${MY_PN}ii/${MY_P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+
+DEPEND="
+ sci-libs/exodusii
+ sci-libs/netcdf"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}/${PN}
+
+PATCHES=( "${FILESDIR}"/${PN}-5.22b-multilib.patch )
+
+src_prepare() {
+ find ../exodus -delete || die
+ cmake-utils_src_prepare
+ sed -i 's/exoIIv2c/NAMES exodus &/' CMakeLists.txt || die
+}
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DNETCDF_DIR="${EPREFIX}/usr/"
+ -DEXODUS_DIR="${EPREFIX}/usr/"
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use test BUILD_TESTING)"
+ cmake-utils_src_configure
+}
+
+src_test() {
+ "${BUILD_DIR}"/ne_test || die
+}
diff --git a/sci-libs/nemesis/nemesis-6.09.ebuild b/sci-libs/nemesis/nemesis-6.09.ebuild
new file mode 100644
index 000000000000..4bd332e3b01c
--- /dev/null
+++ b/sci-libs/nemesis/nemesis-6.09.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+MY_PN="exodus"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Enhancement to the EXODUSII finite element database model"
+HOMEPAGE="https://sourceforge.net/projects/exodusii/"
+SRC_URI="mirror://sourceforge/project/${MY_PN}ii/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+
+DEPEND="
+ sci-libs/exodusii
+ sci-libs/netcdf"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}/${PN}
+
+PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
+
+src_prepare() {
+ find ../exodus -delete || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DNETCDF_DIR="${EPREFIX}/usr/"
+ -DEXODUS_DIR="${EPREFIX}/usr/"
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use test BUILD_TESTING)
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ "${BUILD_DIR}"/ne_test || die
+}