From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/qrupdate/
Date: Tue, 29 Dec 2015 10:02:03 +0000 (UTC) [thread overview]
Message-ID: <1451383313.30760ff9f36f69c9959aa8eaed2c8fef6d9a574e.jlec@gentoo> (raw)
commit: 30760ff9f36f69c9959aa8eaed2c8fef6d9a574e
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 09:19:01 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:01:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30760ff9
sci-libs/qrupdate: Bump to EAPI=5
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild | 46 ++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild b/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild
new file mode 100644
index 0000000..5cf137d
--- /dev/null
+++ b/sci-libs/qrupdate/qrupdate-1.1.2-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fortran-2 multilib versionator toolchain-funcs
+
+DESCRIPTION="Library for updating of QR and Cholesky decompositions"
+HOMEPAGE="http://sourceforge.net/projects/qrupdate"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~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
+ 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
+}
next reply other threads:[~2015-12-29 10:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 10:02 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-29 11:04 [gentoo-commits] repo/gentoo:master commit in: sci-libs/qrupdate/ Agostino Sarubbo
2016-01-09 6:43 Agostino Sarubbo
2016-01-17 17:02 Agostino Sarubbo
2016-02-06 6:41 Jeroen Roovers
2020-10-06 21:11 Sam James
2020-11-06 15:23 Sam James
2020-11-07 17:57 Sam James
2021-02-19 12:47 Sam James
2021-10-04 17:44 Sam James
2021-10-04 19:16 Sam James
2021-10-04 19:17 Sam James
2021-10-04 19:19 Sam James
2021-10-04 19:19 Sam James
2021-10-05 6:48 Agostino Sarubbo
2021-10-06 6:06 Agostino Sarubbo
2021-10-06 6:22 Jakov Smolić
2021-10-11 22:22 Yixun Lan
2023-06-03 11:15 Arthur Zamarin
2024-03-17 8:42 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451383313.30760ff9f36f69c9959aa8eaed2c8fef6d9a574e.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox