diff options
Diffstat (limited to 'sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild')
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild b/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild deleted file mode 100644 index efcc931e3385..000000000000 --- a/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch fortran-2 flag-o-matic multilib versionator toolchain-funcs - -DESCRIPTION="Library for updating of QR and Cholesky decompositions" -HOMEPAGE="https://sourceforge.net/projects/qrupdate" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos" -IUSE="static-libs" - -RDEPEND="virtual/lapack" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-1.1.1-Makefiles.patch \ - "${FILESDIR}"/${PN}-1.1.2-install.patch - - # GCC 10 workaround - # bug #741524 - append-fflags $(test-flags-FC -fallow-argument-mismatch) - - sed -i Makeconf \ - -e "s:gfortran:$(tc-getFC):g" \ - -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ - -e "s:BLAS=.*:BLAS=$($(tc-getPKG_CONFIG) --libs blas):" \ - -e "s:LAPACK=.*:LAPACK=$($(tc-getPKG_CONFIG) --libs lapack):" \ - -e "/^LIBDIR=/a\PREFIX=${EPREFIX}/usr" \ - -e "s:LIBDIR=lib:LIBDIR=$(get_libdir):" \ - || die "Failed to set up Makeconf" -} - -src_compile() { - emake solib - use static-libs && emake lib -} - -src_install() { - emake DESTDIR="${D}" install-shlib - dosym libqrupdate.so.$(get_major_version) /usr/$(get_libdir)/libqrupdate.so - use static-libs && emake DESTDIR="${D}" install-staticlib - dodoc README ChangeLog -} |