commit: 7c9fe48febcd024f3d503447401f632dc33654dc Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Tue Nov 15 11:59:29 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Nov 15 11:59:29 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7c9fe48f
sci-mathematics/freefem++: drop 4.7.1 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-mathematics/freefem++/freefem++-4.7.1.ebuild | 102 ----------------------- 1 file changed, 102 deletions(-) diff --git a/sci-mathematics/freefem++/freefem++-4.7.1.ebuild b/sci-mathematics/freefem++/freefem++-4.7.1.ebuild deleted file mode 100644 index 6d55116fd..000000000 --- a/sci-mathematics/freefem++/freefem++-4.7.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools toolchain-funcs - -MY_PV="$(ver_rs 2 -)" - -DESCRIPTION="Solve PDEs using FEM on 2d and 3d domains" -HOMEPAGE="https://freefem.org/" -SRC_URI="https://github.com/FreeFem/FreeFem-sources/archive/v4.7-1.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" -IUSE="examples mpi opengl X" - -RDEPEND=" - sci-libs/fftw:3.0 - virtual/cblas - virtual/lapack - sci-libs/umfpack - sci-libs/arpack - sci-libs/hdf5[cxx] - mpi? ( virtual/mpi ) - opengl? ( - media-libs/freeglut - virtual/opengl - ) - X? ( - media-fonts/font-misc-misc - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXxf86vm - )" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/FreeFem-sources-${MY_PV}" - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - local myconf - - if use mpi; then - myconf="${myconf} --with-mpi=/usr/bin/mpi" - else - myconf="--without-mpi" - fi - - econf \ - --disable-download \ - --disable-optim \ - --enable-generic \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \ - $(use_enable opengl) \ - ${myconf} -} - -src_test() { - if use mpi; then - # This may depend on the used MPI implementation. It is needed - # with mpich2, but should not be needed with lam-mpi or mpich - # (if the system is configured correctly). - ewarn "Please check that your MPI root ring is on before running" - ewarn "the test phase. Failing to start it before that phase may" - ewarn "result in a failing emerge." - epause - fi - emake -j1 check -} - -src_install() { - default - - if use examples; then - einfo "Installing examples..." - - # Remove compiled examples: - emake clean - - einfo "Some of the installed examples assumes that the user has write" - einfo "permissions in the working directory and other will look for" - einfo "data files in the working directory. For this reason in order to" - einfo "run the examples it's better to temporary copy them somewhere" - einfo "in the user folder. For example to run the tutorial examples" - einfo "it's better to copy the entire examples++-tutorial folder into" - einfo "the user directory." - - rm -f examples*/Makefile* || die - doins -r examples* - fi -}
