aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-29 10:40:11 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-29 10:40:11 +0100
commit89e4b2ab84e5dce42c2c3f2b051705324e238862 (patch)
tree148ef27688f57a76e098326c11f4b0c96f461cc4 /virtual/blas/blas-2.1-r4.ebuild
parentMerge remote-tracking branch 'github/master' (diff)
downloadsci-89e4b2ab84e5dce42c2c3f2b051705324e238862.tar.gz
sci-89e4b2ab84e5dce42c2c3f2b051705324e238862.tar.bz2
sci-89e4b2ab84e5dce42c2c3f2b051705324e238862.zip
virtual/blas: Block app-eselect/eselect-blas
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563292 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'virtual/blas/blas-2.1-r4.ebuild')
-rw-r--r--virtual/blas/blas-2.1-r4.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/virtual/blas/blas-2.1-r4.ebuild b/virtual/blas/blas-2.1-r4.ebuild
new file mode 100644
index 000000000..7b4605bd8
--- /dev/null
+++ b/virtual/blas/blas-2.1-r4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for FORTRAN 77 BLAS implementation"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc int64"
+
+RDEPEND="
+ !app-eselect/eselect-blas
+ || (
+ sci-libs/blas-reference[int64?,${MULTILIB_USEDEP}]
+ >=sci-libs/openblas-0.2.11[int64?,${MULTILIB_USEDEP}]
+ >=dev-cpp/eigen-3.1.4
+ sci-libs/atlas[fortran]
+ >=sci-libs/acml-4.4
+ sci-libs/gotoblas2
+ >=sci-libs/mkl-10.3
+ )
+ doc? ( >=app-doc/blas-docs-3.2 )
+ int64? (
+ || (
+ sci-libs/blas-reference[int64,${MULTILIB_USEDEP}]
+ >=sci-libs/openblas-0.2.11[int64,${MULTILIB_USEDEP}]
+ )
+ )
+"
+DEPEND=""
+
+pkg_pretend() {
+ if [[ -e "${EROOT%/}"/usr/$(get_libdir)/lib${PN}.so ]]; then
+ ewarn "You have still the old ${PN} library symlink present"
+ ewarn "Please delete"
+ ewarn "${EROOT%/}/usr/$(get_libdir)/lib${PN}.so"
+ ewarn "to avoid problems with new ${PN} structure"
+ die "Old lib${PN} detected"
+ fi
+}