summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-13 12:38:57 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-13 12:38:57 +0000
commitc6f6bb452ce9e948a0da8a38925ee9c5e31cdaae (patch)
tree53425124bc7cf554531dee47c9ae9dd48009f433 /sci-libs/exodusii
parentsci-libs/vtk: Version Bump (diff)
downloadhistorical-c6f6bb452ce9e948a0da8a38925ee9c5e31cdaae.tar.gz
historical-c6f6bb452ce9e948a0da8a38925ee9c5e31cdaae.tar.bz2
historical-c6f6bb452ce9e948a0da8a38925ee9c5e31cdaae.zip
sci-libs/exodusii: Imported from sci overlay, #344063; needed for #433481
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64 Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'sci-libs/exodusii')
-rw-r--r--sci-libs/exodusii/ChangeLog28
-rw-r--r--sci-libs/exodusii/Manifest15
-rw-r--r--sci-libs/exodusii/exodusii-5.22b.ebuild32
-rw-r--r--sci-libs/exodusii/files/exodusii-5.22b-multilib.patch111
-rw-r--r--sci-libs/exodusii/metadata.xml8
5 files changed, 194 insertions, 0 deletions
diff --git a/sci-libs/exodusii/ChangeLog b/sci-libs/exodusii/ChangeLog
new file mode 100644
index 000000000000..6a970744f6ce
--- /dev/null
+++ b/sci-libs/exodusii/ChangeLog
@@ -0,0 +1,28 @@
+# ChangeLog for sci-libs/exodusii
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/exodusii/ChangeLog,v 1.1 2012/12/13 12:38:55 jlec Exp $
+
+*exodusii-5.22b (13 Dec 2012)
+
+ 13 Dec 2012; Justin Lecher <jlec@gentoo.org> +exodusii-5.22b.ebuild,
+ +files/exodusii-5.22b-multilib.patch, +metadata.xml:
+ Imported from sci overlay, #344063; needed for #433481
+
+*exodusii-5.22 (04 Sep 2012)
+
+ 04 Sep 2012; Justin Lecher <jlec@gentoo.org> -exodusii-4.98.ebuild,
+ -files/exodusii-4.98-find-netcdf.patch, +exodusii-5.22.ebuild,
+ +files/exodusii-5.22-multilib.patch:
+ Version Bump
+
+ 22 May 2012; Justin Lecher <jlec@gentoo.org> exodusii-4.98.ebuild,
+ metadata.xml:
+ Add missing eutils.eclass, bump to EAPI=4, remove unnecessary bits
+
+*exodusii-4.98 (15 Dec 2010)
+
+ 15 Dec 2010; Nico Schlömer <nico.schloemer@gmail.com>
+ +exodusii-4.98.ebuild, +files/exodusii-4.98-find-netcdf.patch,
+ +metadata.xml:
+ Initial import.
+
diff --git a/sci-libs/exodusii/Manifest b/sci-libs/exodusii/Manifest
new file mode 100644
index 000000000000..fec57c8e1ea9
--- /dev/null
+++ b/sci-libs/exodusii/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX exodusii-5.22b-multilib.patch 3824 SHA256 015a76315352aded829a93bcbd6701d5a9d7a2a8821997a01893ca50a7c51ef7 SHA512 9f9238940faa9ac42110cb559525af5473509202ae3a7c79f744325f80e9bc6d2c6013cdbadb589b60ca6f113d66132eb24bbe2702423ae87e8c0f89b1019a8c WHIRLPOOL 625b6dbdf332866ab673ca71ff5ceb5e65010baf60e9f53e67a8cce555b27c5ac5c65551b6ca01b7c0678ebd7bb8c1b87483575c52d6b8793f44009c630ca227
+DIST exodus-5.22b.tar.gz 4693236 SHA256 6781b96039af030a98ddb893c40db06959b4843b6e2961c770b5d64d90241265 SHA512 04364b473d074c8bff194c63ed5ef78cb163ccc72a8dd196803646e8a8fe0faf25f9fd9a68d6df0ee821b9a84341b6aeabcc816b476fb3f7befe1e482a9455b7 WHIRLPOOL a95c98db2c6d825602618acaeced503bc1b9e312b6a4968011bd663d4c036976b4f5bf3fd45ceec0f31d3bca8e9a8cb6d53fd2d1b33ab25ec9e0993436abc7c6
+EBUILD exodusii-5.22b.ebuild 898 SHA256 a319643384482dd41e80c93a7df0a2ab69b05cedea3e4867814e48be0d3e38b4 SHA512 5cfc318c13e7d058580a914b7c197aaf492ac80043a4db737f91a24d7002ab8736d2d00007d63934f307728ffa1c27701904396e4692d9be82c6644a71d92c20 WHIRLPOOL 807168b5ac1ea651feab1683e2d00cc445ef38e438dabd86fe97e29eb5ad602978a2487aecccbc52cdae3ffdbc59808658b1ffcf73da66c58ef7e785ef1a3273
+MISC ChangeLog 983 SHA256 eb55a666c2a62ebff103664084eceaae9aa06940d16b782f9f53f9d14be8ebe0 SHA512 eee78ef210fa84009981c556a0dae6da15f293cfc8f2e10ed30906c44abc10118303094228943c79ba583415e086384d6e7bf992fb71ab4b2b1f98aa427ea507 WHIRLPOOL 9569a79bbb21bc406d4a047340f28fcd6a4ec107202e387082411325e57a4de9081857ea2ed36534a7a4d30c17d452512f77646c177ffba0f3cbed1c7cad940f
+MISC metadata.xml 462 SHA256 ca9984b8d59e4188cadad8e68753e5ed77abc567ee2661919eaa2be698c1ed20 SHA512 9a7692332f88e2430635e5505563b6c90d4be2b6e87a77e2c3ec1765db3b246a166599f274bd79c3e9e1e3c5afb53d224b680ba45984145c6a8ef236433c9399 WHIRLPOOL bae6899d54fbe3643d8e930fc44a014856a77d355552628ef9d49cd17636e351736561d66e19e15354eab4988e3be645d26bf4a067cc5437157203e539ba929b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlDJzGEACgkQgAnW8HDreRYXrACeJArcsFNURFGlnTONqsIRw3jU
+epYAoMWZ3ZsZBmjfj+QPxn97VhNyv3X1
+=G+Ca
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/exodusii/exodusii-5.22b.ebuild b/sci-libs/exodusii/exodusii-5.22b.ebuild
new file mode 100644
index 000000000000..ded2af47474f
--- /dev/null
+++ b/sci-libs/exodusii/exodusii-5.22b.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/exodusii/exodusii-5.22b.ebuild,v 1.1 2012/12/13 12:38:55 jlec Exp $
+
+EAPI=4
+
+inherit cmake-utils multilib
+
+DESCRIPTION="Model developed to store and retrieve transient data for finite element analyses"
+HOMEPAGE="http://sourceforge.net/projects/exodusii/"
+SRC_URI="mirror://sourceforge/${PN}/${P/ii/}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs test"
+
+DEPEND=">=sci-libs/netcdf-3.6.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${P/ii/}/${PN/ii/}
+
+PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DNETCDF_DIR="${EPREFIX}/usr/"
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use test BUILD_TESTING)"
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/exodusii/files/exodusii-5.22b-multilib.patch b/sci-libs/exodusii/files/exodusii-5.22b-multilib.patch
new file mode 100644
index 000000000000..ed6169463fc7
--- /dev/null
+++ b/sci-libs/exodusii/files/exodusii-5.22b-multilib.patch
@@ -0,0 +1,111 @@
+ exodus/CMakeLists.txt | 8 ++++----
+ exodus/cbind/CMakeLists.txt | 6 +++---
+ exodus/forbind/CMakeLists.txt | 13 +++++++------
+ 3 files changed, 14 insertions(+), 13 deletions(-)
+
+diff --git a/exodus/CMakeLists.txt b/exodus/CMakeLists.txt
+index 935da5a..db8aed4 100644
+--- a/exodus/CMakeLists.txt
++++ b/exodus/CMakeLists.txt
+@@ -7,7 +7,7 @@ SET(EXODUSII_VERSION_PATCH "0")
+ SET(EXODUSII_VERSION "${EXODUSII_VERSION_MAJOR}.${EXODUSII_VERSION_MINOR}")
+ SET(EXODUSII_VERSION_FULL "${EXODUSII_VERSION}.${EXODUSII_VERSION_PATCH}")
+
+-SET(EXODUSII_BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS}")
++SET(EXODUSII_BUILD_SHARED_${LIB_INSTALL_DIR}S "${BUILD_SHARED_LIBS}")
+
+ SUBDIRS(cbind forbind)
+
+@@ -21,7 +21,7 @@ find_path( NETCDF_INCLUDE_DIR netcdf.h
+ find_library( NETCDF_LIBRARY
+ NAMES netcdf
+ PATHS "$ENV{ACCESS}/lib"
+- "$ENV{NETCDF_DIR}/lib"
++ "$ENV{NETCDF_DIR}/${LIB_INSTALL_DIR}"
+ "$ENV{NETCDF_DIR}/libsrc/.libs"
+ )
+
+@@ -35,14 +35,14 @@ find_program (NETCDF_NCDUMP ncdump
+ find_library( HDF5_LIBRARY hdf5
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${LIB_INSTALL_DIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+ find_library( HDF5HL_LIBRARY hdf5_hl
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${LIB_INSTALL_DIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+diff --git a/exodus/cbind/CMakeLists.txt b/exodus/cbind/CMakeLists.txt
+index 9aa54e9..f020d65 100644
+--- a/exodus/cbind/CMakeLists.txt
++++ b/exodus/cbind/CMakeLists.txt
+@@ -259,9 +259,9 @@ ENDIF(EXODUS_LIBRARY_PROPERTIES)
+
+ IF(NOT EXODUS_INSTALL_NO_LIBRARIES)
+ INSTALL(TARGETS exoIIv2c
+- RUNTIME DESTINATION lib COMPONENT Runtime
+- LIBRARY DESTINATION lib COMPONENT Runtime
+- ARCHIVE DESTINATION lib COMPONENT Development)
++ RUNTIME DESTINATION ${LIB_INSTALL_DIR} COMPONENT Runtime
++ LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT Runtime
++ ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT Development)
+ INSTALL(FILES ${cbind_HEADERS} DESTINATION include COMPONENT Development)
+ ENDIF(NOT EXODUS_INSTALL_NO_LIBRARIES)
+
+diff --git a/exodus/forbind/CMakeLists.txt b/exodus/forbind/CMakeLists.txt
+index 4a5e7c7..484eedf 100644
+--- a/exodus/forbind/CMakeLists.txt
++++ b/exodus/forbind/CMakeLists.txt
+@@ -14,7 +14,7 @@ find_path( NETCDF_INCLUDE_DIR netcdf.h
+ find_library( NETCDF_LIBRARY
+ NAMES netcdf
+ PATHS "$ENV{ACCESS}/lib"
+- "$ENV{NETCDF_DIR}/lib"
++ "$ENV{NETCDF_DIR}/${LIB_INSTALL_DIR}"
+ "$ENV{NETCDF_DIR}/libsrc/.libs"
+ )
+
+@@ -28,20 +28,21 @@ find_program (NETCDF_NCDUMP ncdump
+ find_library( HDF5_LIBRARY hdf5
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${LIB_INSTALL_DIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+ find_library( HDF5HL_LIBRARY hdf5_hl
+ $ENV{ACCESS}/lib/shared
+ $ENV{ACCESS}/lib
+- $ENV{NETCDF_DIR}/lib
++ $ENV{NETCDF_DIR}/${LIB_INSTALL_DIR}
+ $ENV{NETCDF_DIR}/libsrc/.libs
+ /usr/local/hdf5/lib
+ )
+
+ INCLUDE_DIRECTORIES(
+ "${CMAKE_CURRENT_SOURCE_DIR}/include"
++ "${CMAKE_CURRENT_SOURCE_DIR}/../cbind/include"
+ "${CMAKE_CURRENT_BINARY_DIR}/include"
+ "${NETCDF_INCLUDE_DIR}"
+ )
+@@ -60,9 +61,9 @@ ENDIF(EXODUS_LIBRARY_PROPERTIES)
+
+ IF(NOT EXODUS_INSTALL_NO_LIBRARIES)
+ INSTALL(TARGETS exoIIv2for
+- RUNTIME DESTINATION lib COMPONENT Runtime
+- LIBRARY DESTINATION lib COMPONENT Runtime
+- ARCHIVE DESTINATION lib COMPONENT Development)
++ RUNTIME DESTINATION ${LIB_INSTALL_DIR} COMPONENT Runtime
++ LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT Runtime
++ ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT Development)
+ INSTALL(FILES ${forbind_HEADERS} DESTINATION include COMPONENT Development)
+ ENDIF(NOT EXODUS_INSTALL_NO_LIBRARIES)
+
diff --git a/sci-libs/exodusii/metadata.xml b/sci-libs/exodusii/metadata.xml
new file mode 100644
index 000000000000..979e8ff4c8c6
--- /dev/null
+++ b/sci-libs/exodusii/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+EXODUS II is a model developed to store and retrieve transient data for finite element analyses. It is used for preprocessing, postprocessing, as well as code to code data transfer. ExodusII is based on netcdf and includes the nemesis parallel extension.
+</longdescription>
+</pkgmetadata>