summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-07-03 08:05:02 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-07-03 08:05:02 +0000
commit424626055e3e25b11308589627cf50807638ee54 (patch)
tree87020f56d8816705db8a05dfe26a7f65704a3ad7 /sci-libs
parentBumps to switch to new eselect modules. (diff)
downloadgentoo-2-424626055e3e25b11308589627cf50807638ee54.tar.gz
gentoo-2-424626055e3e25b11308589627cf50807638ee54.tar.bz2
gentoo-2-424626055e3e25b11308589627cf50807638ee54.zip
Bumps to switch to new eselect modules.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/blas-reference/ChangeLog8
-rw-r--r--sci-libs/blas-reference/blas-reference-19940131-r4.ebuild54
-rw-r--r--sci-libs/blas-reference/files/digest-blas-reference-19940131-r43
3 files changed, 64 insertions, 1 deletions
diff --git a/sci-libs/blas-reference/ChangeLog b/sci-libs/blas-reference/ChangeLog
index 9feacc6f3ea7..17b0a0f7bc10 100644
--- a/sci-libs/blas-reference/ChangeLog
+++ b/sci-libs/blas-reference/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/blas-reference
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.11 2006/06/18 17:09:27 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.12 2006/07/03 08:05:02 spyderous Exp $
+
+*blas-reference-19940131-r4 (03 Jul 2006)
+
+ 03 Jul 2006; Donnie Berkholz <spyderous@gentoo.org>;
+ +blas-reference-19940131-r4.ebuild:
+ Bumps to switch to new eselect modules.
18 Jun 2006; Markus Rothe <corsair@gentoo.org>
blas-reference-19940131-r3.ebuild:
diff --git a/sci-libs/blas-reference/blas-reference-19940131-r4.ebuild b/sci-libs/blas-reference/blas-reference-19940131-r4.ebuild
new file mode 100644
index 000000000000..d725e04ebc6e
--- /dev/null
+++ b/sci-libs/blas-reference/blas-reference-19940131-r4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-19940131-r4.ebuild,v 1.1 2006/07/03 08:05:02 spyderous Exp $
+
+inherit autotools fortran multilib
+
+Name="blas"
+DESCRIPTION="FORTRAN reference implementation of the BLAS (linear algebra lib)"
+LICENSE="public-domain"
+HOMEPAGE="http://www.netlib.org/blas/"
+SRC_URI="http://www.netlib.org/blas/${Name}.tgz"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="app-admin/eselect-blas"
+DEPEND="${RDEPEND}"
+
+PROVIDE="virtual/blas"
+
+#TODO: detect 64bit size from compiler, not eclass
+FORTRAN="g77 gfortran ifc" || FORTRAN="g77 gfortran f2c ifc" # No f2c on 64-bit systems yet :-/
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}"/Makefile.am .
+ cp "${FILESDIR}"/configure.ac .
+ eautoreconf
+}
+
+src_install() {
+ # Profile information will be installed in TOP_PATH:
+ TOP_PATH="${DESTTREE}"/$(get_libdir)/blas
+ # Libraries will be installed in RPATH:
+ RPATH="${TOP_PATH}"/reference
+
+ make DESTDIR="${D}" install || die "install failed"
+
+ # Fix for switching
+ dodir ${RPATH}
+ mv ${D}/usr/$(get_libdir)/libblas* ${D}/${RPATH}
+
+ eselect blas add $(get_libdir) ${FILESDIR}/eselect-reference reference
+}
+
+pkg_postinst() {
+ if [[ -z "$(eselect blas show)" ]]; then
+ eselect blas set reference
+ fi
+}
diff --git a/sci-libs/blas-reference/files/digest-blas-reference-19940131-r4 b/sci-libs/blas-reference/files/digest-blas-reference-19940131-r4
new file mode 100644
index 000000000000..357d0835458a
--- /dev/null
+++ b/sci-libs/blas-reference/files/digest-blas-reference-19940131-r4
@@ -0,0 +1,3 @@
+MD5 5811e4b3dffa7a10956abf923cec1bd4 blas.tgz 94981
+RMD160 d2cea3ae6156b6f583fae5e590695ffb306abb80 blas.tgz 94981
+SHA256 bd062a79e35a9a835cfd8eaebe6262bbb195610336cf07435cd2b7df200bf084 blas.tgz 94981