summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-07-03 08:05:39 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-07-03 08:05:39 +0000
commit46f6fb777d9f304b05859d17037c7b6466169362 (patch)
tree2c62710a3e2bbd38fcb37e72c4c55adfec236454 /sci-libs/cblas-reference
parentBumps to switch to new eselect modules. (diff)
downloadgentoo-2-46f6fb777d9f304b05859d17037c7b6466169362.tar.gz
gentoo-2-46f6fb777d9f304b05859d17037c7b6466169362.tar.bz2
gentoo-2-46f6fb777d9f304b05859d17037c7b6466169362.zip
Bumps to switch to new eselect modules.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'sci-libs/cblas-reference')
-rw-r--r--sci-libs/cblas-reference/ChangeLog8
-rw-r--r--sci-libs/cblas-reference/cblas-reference-20030223-r2.ebuild54
-rw-r--r--sci-libs/cblas-reference/files/digest-cblas-reference-20030223-r23
3 files changed, 64 insertions, 1 deletions
diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 62aecf6e826a..fc60c053173b 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/cblas-reference
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.6 2006/06/19 19:28:32 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.7 2006/07/03 08:05:39 spyderous Exp $
+
+*cblas-reference-20030223-r2 (03 Jul 2006)
+
+ 03 Jul 2006; Donnie Berkholz <spyderous@gentoo.org>;
+ +cblas-reference-20030223-r2.ebuild:
+ Bumps to switch to new eselect modules.
19 Jun 2006; Markus Rothe <corsair@gentoo.org>
cblas-reference-20030223-r1.ebuild:
diff --git a/sci-libs/cblas-reference/cblas-reference-20030223-r2.ebuild b/sci-libs/cblas-reference/cblas-reference-20030223-r2.ebuild
new file mode 100644
index 000000000000..c0fec249e956
--- /dev/null
+++ b/sci-libs/cblas-reference/cblas-reference-20030223-r2.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/cblas-reference/cblas-reference-20030223-r2.ebuild,v 1.1 2006/07/03 08:05:39 spyderous Exp $
+
+inherit autotools eutils fortran multilib
+
+MyPN="${PN/-reference/}"
+
+DESCRIPTION="C interface to the BLAS"
+LICENSE="public-domain"
+HOMEPAGE="http://www.netlib.org/blas/"
+SRC_URI="http://www.netlib.org/blas/blast-forum/${MyPN}.tgz"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="virtual/blas
+ app-admin/eselect-cblas"
+DEPEND="${RDEPEND}"
+
+FORTRAN="gfortran g77 ifc"
+
+S="${WORKDIR}/CBLAS"
+
+src_unpack() {
+ unpack ${A}
+ # Must patch before changing to S. Patches that create new files
+ # will happily apply anywhere.
+ epatch "${FILESDIR}"/${P}-autotool.patch
+ cd "${S}"
+ eautoreconf
+}
+
+src_install() {
+ TOP_PATH="${DESTTREE}/$(get_libdir)/blas"
+ RPATH="${TOP_PATH}/reference"
+
+ make DESTDIR="${D}" install || die "install failed"
+
+ # Fix for switching
+ dodir ${RPATH}
+ mv ${D}/usr/$(get_libdir)/libcblas* ${D}/${RPATH}
+
+ dodoc "${S}"/README || die "failed to install docs"
+
+ eselect cblas add $(get_libdir) ${FILESDIR}/eselect-reference reference
+}
+
+pkg_postinst() {
+ if [[ -z "$(eselect cblas show)" ]]; then
+ eselect cblas set reference
+ fi
+}
diff --git a/sci-libs/cblas-reference/files/digest-cblas-reference-20030223-r2 b/sci-libs/cblas-reference/files/digest-cblas-reference-20030223-r2
new file mode 100644
index 000000000000..823a069b1666
--- /dev/null
+++ b/sci-libs/cblas-reference/files/digest-cblas-reference-20030223-r2
@@ -0,0 +1,3 @@
+MD5 716329646ac933592a7cbdbeae9d3d06 cblas.tgz 197694
+RMD160 77bd5111659f55540c72f9fcd9277d97bd1ea33b cblas.tgz 197694
+SHA256 9b49d7177fda62b6141bf2ca29e475e86f0b12d8f72e0b944058d02b439dd52a cblas.tgz 197694