summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-13 14:51:07 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-13 14:51:07 +0000
commitc84ae2d149dea819ad1112d339f4ca419341f0b9 (patch)
treefd89549172b26a784fec5d61259331c17cc6fc3e /sci-libs/nemesis
parentRemove CCPL-Sampling+ from LICENSE, wrt bug #447094. Thanks to Andrius Štiko... (diff)
downloadgentoo-2-c84ae2d149dea819ad1112d339f4ca419341f0b9.tar.gz
gentoo-2-c84ae2d149dea819ad1112d339f4ca419341f0b9.tar.bz2
gentoo-2-c84ae2d149dea819ad1112d339f4ca419341f0b9.zip
sci-libs/nemesis: New addition
(Portage version: 2.2.0_alpha148/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs/nemesis')
-rw-r--r--sci-libs/nemesis/ChangeLog10
-rw-r--r--sci-libs/nemesis/Manifest5
-rw-r--r--sci-libs/nemesis/files/nemesis-5.22b-multilib.patch57
-rw-r--r--sci-libs/nemesis/metadata.xml17
-rw-r--r--sci-libs/nemesis/nemesis-5.22b.ebuild45
5 files changed, 134 insertions, 0 deletions
diff --git a/sci-libs/nemesis/ChangeLog b/sci-libs/nemesis/ChangeLog
new file mode 100644
index 000000000000..4b7204bc48f1
--- /dev/null
+++ b/sci-libs/nemesis/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/nemesis
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/nemesis/ChangeLog,v 1.1 2012/12/13 14:51:07 jlec Exp $
+
+*nemesis-5.22b (13 Dec 2012)
+
+ 13 Dec 2012; Justin Lecher <jlec@gentoo.org> +nemesis-5.22b.ebuild,
+ +files/nemesis-5.22b-multilib.patch, +metadata.xml:
+ New addition
+
diff --git a/sci-libs/nemesis/Manifest b/sci-libs/nemesis/Manifest
new file mode 100644
index 000000000000..6e886cfad31f
--- /dev/null
+++ b/sci-libs/nemesis/Manifest
@@ -0,0 +1,5 @@
+AUX nemesis-5.22b-multilib.patch 1885 SHA256 54045fa277eb349ae3c308ca10e1c8b358e5c5d95e37132c504ca49fec5b8085 SHA512 d068f9d2f35b306fe9c57b41a065c8c6aea85bfa1f0b4d42c538a17c3563840c014cc0b0f93da79a5bfd98d5c8e6007d6f99d03e92aa534278b90871e7da663d WHIRLPOOL 20269e21e7d7e3f8f0c227d06c4e5a6ee3961b7d0577fd3c736d479494a602a5e679ef472e74392968dc37c7ac67807544bbef92522fd19f4b724da18da710b2
+DIST exodus-5.22b.tar.gz 4693236 SHA256 6781b96039af030a98ddb893c40db06959b4843b6e2961c770b5d64d90241265 SHA512 04364b473d074c8bff194c63ed5ef78cb163ccc72a8dd196803646e8a8fe0faf25f9fd9a68d6df0ee821b9a84341b6aeabcc816b476fb3f7befe1e482a9455b7 WHIRLPOOL a95c98db2c6d825602618acaeced503bc1b9e312b6a4968011bd663d4c036976b4f5bf3fd45ceec0f31d3bca8e9a8cb6d53fd2d1b33ab25ec9e0993436abc7c6
+EBUILD nemesis-5.22b.ebuild 1076 SHA256 693bfcb95792d0bdc532dc4158559b9ebd1d643d09334c1bafc2da80958c104d SHA512 a4a4983feb7c86447613bdfd018e6b07942da6895dd34088b2c6d572b9978b995f46abb4dd67829f7b5a71334408be7b34aa4001281e2a1f3ceb5d8325ab97ea WHIRLPOOL 35aaa6d42d1ab567c662f0497cf86436fb1834b26cb2a7ee69b347c377ba53f35440d1dc7bbbd8441fa2ad82900a9e2bf8b32ee33113eb885cfd8cb17cd5923c
+MISC ChangeLog 287 SHA256 98d65fd234bf117e7db1c9c2652b97983662c2d11397b14310e64e1d1c707a7b SHA512 219b701f13d1582c651da9aceac8cb4a79a2a4329fe0deeea8004d9c2d198ef9a86a8b8a8ab1bb7c45b529a244750dac6cb6265181fdbd4b2e8395d94a659dd8 WHIRLPOOL 07034ba7ce7a4999c797a312eb08a06795287f7064f94818b3c77d7c0603d4c96a59655030f2a6107297fbd0f133a03979e00de032fbaf3e86e3688a1e2eca63
+MISC metadata.xml 872 SHA256 e9947be539cc18cc35a92be2cc94edae37bf80d867d58bb0e648071c99f6283b SHA512 80612a380bce3db20838ee229020fda32fa98e624bac5be85dd739ebe55e4e0e1ff2be39d88d56d6b353eba722fbd4d0ac84bc39f94237be3386412b8956e9ba WHIRLPOOL e31800adc67d310989a8fb74b6737bf371f9344d937f71b5006fac1be66942b43eeb445c240f54cbc7c61f5cd6c7e0fb6013f6ca7b6af6e43cbd47bbcb332b2f
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/metadata.xml b/sci-libs/nemesis/metadata.xml
new file mode 100644
index 000000000000..0ce5cc970228
--- /dev/null
+++ b/sci-libs/nemesis/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <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>
+</pkgmetadata>
diff --git a/sci-libs/nemesis/nemesis-5.22b.ebuild b/sci-libs/nemesis/nemesis-5.22b.ebuild
new file mode 100644
index 000000000000..aefb9e58e7ce
--- /dev/null
+++ b/sci-libs/nemesis/nemesis-5.22b.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/nemesis/nemesis-5.22b.ebuild,v 1.1 2012/12/13 14:51:07 jlec Exp $
+
+EAPI=4
+
+inherit cmake-utils multilib
+
+MY_PN="exodus"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Enhancement to the EXODUSII finite element database model"
+HOMEPAGE="http://sourceforge.net/projects/exodusii/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+
+DEPEND="sci-libs/netcdf"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}/${PN}
+
+PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
+
+src_prepare() {
+ find ../exodus -delete || die
+ base_src_prepare
+}
+
+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
+}