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/exodusii-6.09.ebuild | |
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/exodusii-6.09.ebuild')
-rw-r--r-- | sci-libs/exodusii/exodusii-6.09.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
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 +} |