diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2016-05-10 13:50:52 -0600 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2016-05-10 13:51:05 -0600 |
commit | f8853b7a862ad723e47b83adfddb38efed6d090b (patch) | |
tree | acc5ee2032f563680e7f0ff01c80f6b6fb4ff308 /sci-libs/exodusii | |
parent | dev-db/mariadb: Version bump to 10.1.14 (diff) | |
download | gentoo-f8853b7a862ad723e47b83adfddb38efed6d090b.tar.gz gentoo-f8853b7a862ad723e47b83adfddb38efed6d090b.tar.bz2 gentoo-f8853b7a862ad723e47b83adfddb38efed6d090b.zip |
sci-libs/exodusii: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'sci-libs/exodusii')
-rw-r--r-- | sci-libs/exodusii/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/exodusii/exodusii-6.09.ebuild | 56 | ||||
-rw-r--r-- | sci-libs/exodusii/files/exodusii-6.09-multilib.patch | 87 |
3 files changed, 144 insertions, 0 deletions
diff --git a/sci-libs/exodusii/Manifest b/sci-libs/exodusii/Manifest index ae6065bcbd93..60d90928a35f 100644 --- a/sci-libs/exodusii/Manifest +++ b/sci-libs/exodusii/Manifest @@ -1 +1,2 @@ DIST exodus-6.02.tar.gz 4735364 SHA256 a3d7ae6ad433bb9655748c0e3e7a95e66c46d9df1e4c3d8d7e125af3fec89193 SHA512 d086464f0af2edd06d6e6a49be28d3bdfe00c0e9a9a09abad7822a49c7a7fbb75b61324ea54d2163c73b45ee90222c22754c804ee6868cdb0f9e4b780d6d5ad0 WHIRLPOOL 53382f9ec4b11197c4b2424a222b4178de73ac233e2e23110070a7a72f150ec8ed2ad024b4ce1bdfed3ab6b3c9dfb040d243c394af2a60e7330a681f8dac58a2 +DIST exodus-6.09.tar.gz 4757028 SHA256 e14db4c1e2ca893c4602055036b827b8332746439f0869489fdc677058faebe8 SHA512 a48c02952b0edfae416e9b3f77471558dd2d60177471eca3de32890d11afabe3cfb64396de83e728327d43bbea83969ebcdd8ea516a3b9a6ed7353d4cc940516 WHIRLPOOL 97426e487c8f6ae31da4be36f3712ade99eb7e31feb67d3989153dadc394b427b8e38976f06e99c153fae3d04b05357b48b0b537ff0c04fb8199b9aaeb27bcc4 diff --git a/sci-libs/exodusii/exodusii-6.09.ebuild b/sci-libs/exodusii/exodusii-6.09.ebuild new file mode 100644 index 000000000000..20b1c0cc2b94 --- /dev/null +++ b/sci-libs/exodusii/exodusii-6.09.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +FORTRAN_NEEDED="test" + +inherit cmake-utils fortran-2 multilib + +MY_PN="${PN%ii}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Model developed to store and retrieve transient data for finite element analyses" +HOMEPAGE="http://sourceforge.net/projects/exodusii/" +SRC_URI="mirror://sourceforge/project/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs test" + +RDEPEND="sci-libs/netcdf[hdf5]" +DEPEND="${RDEPEND} + test? ( app-shells/tcsh ) +" + +S="${WORKDIR}"/${MY_P}/${MY_PN} + +PATCHES=( "${FILESDIR}"/${P}-multilib.patch ) + +src_prepare() { + use test || \ + sed \ + -e 's:Fortran::g' \ + -i CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + -DNETCDF_DIR="${EPREFIX}/usr/" + -DPYTHON_INSTALL="${EPREFIX}/usr/share/${PN}" + $(cmake-utils_use_build !static-libs SHARED) + $(cmake-utils_use_build test TESTING) + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}"/cbind/test || die + ctest || die + cd "${BUILD_DIR}"/forbind/test || die + emake f_check +} diff --git a/sci-libs/exodusii/files/exodusii-6.09-multilib.patch b/sci-libs/exodusii/files/exodusii-6.09-multilib.patch new file mode 100644 index 000000000000..3b1b5e2ace7f --- /dev/null +++ b/sci-libs/exodusii/files/exodusii-6.09-multilib.patch @@ -0,0 +1,87 @@ +diff -Naur exodus-6.09.orig/exodus/cbind/CMakeLists.txt exodus-6.09/exodus/cbind/CMakeLists.txt +--- exodus-6.09.orig/exodus/cbind/CMakeLists.txt 2016-05-10 13:20:06.408385120 -0600 ++++ exodus-6.09/exodus/cbind/CMakeLists.txt 2016-05-10 13:22:35.378385120 -0600 +@@ -293,9 +293,9 @@ + + IF(NOT EXODUS_INSTALL_NO_LIBRARIES) + INSTALL(TARGETS exodus +- RUNTIME DESTINATION lib COMPONENT Runtime +- LIBRARY DESTINATION lib COMPONENT Runtime +- ARCHIVE DESTINATION lib COMPONENT Development) ++ RUNTIME DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime ++ LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime ++ ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT Development) + INSTALL(FILES ${cbind_HEADERS} DESTINATION include COMPONENT Development) + ENDIF(NOT EXODUS_INSTALL_NO_LIBRARIES) + +diff -Naur exodus-6.09.orig/exodus/CMakeLists.txt exodus-6.09/exodus/CMakeLists.txt +--- exodus-6.09.orig/exodus/CMakeLists.txt 2016-05-10 13:20:06.418385120 -0600 ++++ exodus-6.09/exodus/CMakeLists.txt 2016-05-10 13:21:25.928385120 -0600 +@@ -27,7 +27,7 @@ + find_library( NETCDF_LIBRARY + NAMES netcdf + PATHS "$ENV{ACCESS}/lib" +- "$ENV{NETCDF_DIR}/lib" ++ "$ENV{NETCDF_DIR}/lib${LIB_SUFFIX}" + "$ENV{NETCDF_DIR}/libsrc/.libs" + ) + +@@ -41,14 +41,14 @@ + find_library( HDF5_LIBRARY hdf5 + $ENV{ACCESS}/lib/shared + $ENV{ACCESS}/lib +- $ENV{NETCDF_DIR}/lib ++ $ENV{NETCDF_DIR}/lib${LIB_SUFFIX} + $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${LIB_SUFFIX} + $ENV{NETCDF_DIR}/libsrc/.libs + /usr/local/hdf5/lib + ) +diff -Naur exodus-6.09.orig/exodus/forbind/CMakeLists.txt exodus-6.09/exodus/forbind/CMakeLists.txt +--- exodus-6.09.orig/exodus/forbind/CMakeLists.txt 2016-05-10 13:20:06.418385120 -0600 ++++ exodus-6.09/exodus/forbind/CMakeLists.txt 2016-05-10 13:21:25.928385120 -0600 +@@ -14,7 +14,7 @@ + find_library( NETCDF_LIBRARY + NAMES netcdf + PATHS "$ENV{ACCESS}/lib" +- "$ENV{NETCDF_DIR}/lib" ++ "$ENV{NETCDF_DIR}/lib${LIB_SUFFIX}" + "$ENV{NETCDF_DIR}/libsrc/.libs" + ) + +@@ -28,14 +28,14 @@ + find_library( HDF5_LIBRARY hdf5 + $ENV{ACCESS}/lib/shared + $ENV{ACCESS}/lib +- $ENV{NETCDF_DIR}/lib ++ $ENV{NETCDF_DIR}/lib${LIB_SUFFIX} + $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${LIB_SUFFIX} + $ENV{NETCDF_DIR}/libsrc/.libs + /usr/local/hdf5/lib + ) +@@ -61,9 +61,9 @@ + + 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${LIB_SUFFIX} COMPONENT Runtime ++ LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime ++ ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT Development) + INSTALL(FILES ${forbind_HEADERS} DESTINATION include COMPONENT Development) + ENDIF(NOT EXODUS_INSTALL_NO_LIBRARIES) + |