diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-12-03 15:52:25 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-12-03 15:52:25 +0100 |
commit | d7d5b682db50724172e027e581d6525b0e549324 (patch) | |
tree | d5c5838ca6ca4a6ae28e8a46dae591b43874360d /sci-misc/elmer-fem/elmer-fem-6.0_p4651.ebuild | |
parent | sci-misc/elmer-gui: Bump EAPI; fix DESCRIPTION; drop keywords from live ebuil... (diff) | |
download | sci-d7d5b682db50724172e027e581d6525b0e549324.tar.gz sci-d7d5b682db50724172e027e581d6525b0e549324.tar.bz2 sci-d7d5b682db50724172e027e581d6525b0e549324.zip |
sci-misc/elmer-fem: Bump EAPI; fix DESCRIPTION; drop keywords from live ebuild; fix whitespacing
Package-Manager: portage-2.2.7
RepoMan-Options: --force
Diffstat (limited to 'sci-misc/elmer-fem/elmer-fem-6.0_p4651.ebuild')
-rw-r--r-- | sci-misc/elmer-fem/elmer-fem-6.0_p4651.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sci-misc/elmer-fem/elmer-fem-6.0_p4651.ebuild b/sci-misc/elmer-fem/elmer-fem-6.0_p4651.ebuild new file mode 100644 index 000000000..d8289c2a8 --- /dev/null +++ b/sci-misc/elmer-fem/elmer-fem-6.0_p4651.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true +FORTRAN_STANDARD=90 + +inherit autotools-utils fortran-2 multilib + +ELMER_ROOT="elmerfem" +MY_PN=${PN/elmer-/} + +DESCRIPTION="Finite element programs, libraries, and visualization tools - main fem" +HOMEPAGE="http://www.csc.fi/english/pages/elmer" +SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mpi debug" + +RDEPEND=" + virtual/blas + virtual/lapack + sci-libs/arpack + sci-libs/matc + sci-libs/elmer-hutiter + sci-libs/elmer-eio + mpi? ( sys-cluster/mpich2 )" +DEPEND="${RDEPEND}" +# Note this seems to only configure correctly with the elmer version of umfpack +# But this doesn't stop it from compiling / working without it + +S="${WORKDIR}/fem" + +PATCHES=( + "${FILESDIR}"/${P}-oos.patch + "${FILESDIR}"/${P}-underlinking.patch +) + +src_configure() { + local myeconfargs=( + $(use_with debug) + $(usex mpi --with-mpi "") + $(usex mpi --with-mpi-dir="${EPREFIX}"/usr "") + --with-arpack="$($(tc-getPKG_CONFIG) --libs arpack)" + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" + --with-huti --with-eiof --with-matc + ) + autotools-utils_src_configure +} |