summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-21 15:44:32 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-21 15:44:32 +0000
commitbddebc81c30b3f7fedc27f72355ec5dd690ae202 (patch)
treecb1a44ed275e39eef7f6c9c2374ba1264faa2719 /sci-libs/blas-reference
parentKeyworded ~amd64 (diff)
downloadhistorical-bddebc81c30b3f7fedc27f72355ec5dd690ae202.tar.gz
historical-bddebc81c30b3f7fedc27f72355ec5dd690ae202.tar.bz2
historical-bddebc81c30b3f7fedc27f72355ec5dd690ae202.zip
major cleanup with new sources and new style pkg-config / virtuals
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'sci-libs/blas-reference')
-rw-r--r--sci-libs/blas-reference/ChangeLog14
-rw-r--r--sci-libs/blas-reference/Manifest42
-rw-r--r--sci-libs/blas-reference/blas-reference-20070226.ebuild61
-rw-r--r--sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch243
-rw-r--r--sci-libs/blas-reference/files/digest-blas-reference-200702263
-rw-r--r--sci-libs/blas-reference/files/eselect.blas.reference4
-rw-r--r--sci-libs/blas-reference/metadata.xml9
7 files changed, 367 insertions, 9 deletions
diff --git a/sci-libs/blas-reference/ChangeLog b/sci-libs/blas-reference/ChangeLog
index 4ed5fd64e30e..eb37ae5bc6b9 100644
--- a/sci-libs/blas-reference/ChangeLog
+++ b/sci-libs/blas-reference/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for sci-libs/blas-reference
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.25 2007/06/29 17:42:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.26 2007/08/21 15:44:32 bicatali Exp $
+
+*blas-reference-20070226 (21 Aug 2007)
+
+ 21 Aug 2007; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/blas-reference-20070226-autotool.patch,
+ +files/eselect.blas.reference, metadata.xml,
+ +blas-reference-20070226.ebuild:
+ Updated sources from lapack-reference-3.1.1 (mainly better
+ documentation in sources + tests), updated autotools patch (was missing
+ scabs1.f), add a working make check, and a blas.pc file. Added doc
+ USE flag, longdescription in metadata.xml. New eselect file including the
+ pkg-config file. Ready for new style virtual. General clean-up.
29 Jun 2007; Jeroen Roovers <jer@gentoo.org>
blas-reference-19940131-r4.ebuild:
diff --git a/sci-libs/blas-reference/Manifest b/sci-libs/blas-reference/Manifest
index 1a8da7c638ed..627d5a8683b7 100644
--- a/sci-libs/blas-reference/Manifest
+++ b/sci-libs/blas-reference/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX Makefile 2306 RMD160 6dc973e86c06dd90e38a67d51e707197d82c5627 SHA1 2526c31163be50b3bbf37ab05ce40cfb589d3bd9 SHA256 34c23ee7874b94eb697f34e7fcf7509cd1100c6d6fec5ef00a48b9a0bca850e7
MD5 8920b27c04909f5e76ec9f2ca290ae31 files/Makefile 2306
RMD160 6dc973e86c06dd90e38a67d51e707197d82c5627 files/Makefile 2306
@@ -6,15 +9,24 @@ AUX blas-reference-19940131-autotool.patch 2486 RMD160 d83073e5d4bf1f33b744c5f83
MD5 6c6b3e3463b1516ff75a7de27848e51c files/blas-reference-19940131-autotool.patch 2486
RMD160 d83073e5d4bf1f33b744c5f8367cc2f140d041f8 files/blas-reference-19940131-autotool.patch 2486
SHA256 254706353e379d6c87dcee32dbccee8d7233fb382c74a58e5ee0f3f921843b83 files/blas-reference-19940131-autotool.patch 2486
+AUX blas-reference-20070226-autotool.patch 4194 RMD160 ae30a5299174657aaf437087f8f55ae36782f078 SHA1 8a818b0c4dc3157ceda63a90caa651b709b5b17a SHA256 c3a9c7cb14ab3bcdea5156d7c2f03253202e2e5a9c9999cc336cf6a5fa75fc97
+MD5 7013d3df6b72ca7cd64a75d83082065e files/blas-reference-20070226-autotool.patch 4194
+RMD160 ae30a5299174657aaf437087f8f55ae36782f078 files/blas-reference-20070226-autotool.patch 4194
+SHA256 c3a9c7cb14ab3bcdea5156d7c2f03253202e2e5a9c9999cc336cf6a5fa75fc97 files/blas-reference-20070226-autotool.patch 4194
AUX eselect-reference 140 RMD160 7a16b2d40a659ec771a7599ca458ceb1e77a5957 SHA1 b47a9c0a541b22d7ad9bb082efa19bc68158d58c SHA256 6f3834df4656968805b55b13c2db03ee9226985e7b6f3b96f2657967ff421a1d
MD5 22d4370f8cbab670cda4db7fcaaad504 files/eselect-reference 140
RMD160 7a16b2d40a659ec771a7599ca458ceb1e77a5957 files/eselect-reference 140
SHA256 6f3834df4656968805b55b13c2db03ee9226985e7b6f3b96f2657967ff421a1d files/eselect-reference 140
+AUX eselect.blas.reference 213 RMD160 24e11e3d44459864070eced2f660d170ca3daca0 SHA1 d3b664ab4177a7f7d95ef90e9603694889be45f1 SHA256 c11b1a8dcd34951d9b1126149f8a51ca0eb0aa5e081abc63f65c392f4839b0aa
+MD5 194a5d7b1e124c961e92b13f4e60bd74 files/eselect.blas.reference 213
+RMD160 24e11e3d44459864070eced2f660d170ca3daca0 files/eselect.blas.reference 213
+SHA256 c11b1a8dcd34951d9b1126149f8a51ca0eb0aa5e081abc63f65c392f4839b0aa files/eselect.blas.reference 213
AUX f77-reference 396 RMD160 13f0db8c8917b283ae330995657046f93ab03369 SHA1 c949ce027f24d7e79151f905e7c98a083090f0af SHA256 4714651b2f82bd42d36b8ff3bfb993c1e4478af35d40dc51210f63d74aa02b8d
MD5 2d7bae33a1553ed8eccbdb971a459ff2 files/f77-reference 396
RMD160 13f0db8c8917b283ae330995657046f93ab03369 files/f77-reference 396
SHA256 4714651b2f82bd42d36b8ff3bfb993c1e4478af35d40dc51210f63d74aa02b8d files/f77-reference 396
DIST blas.tgz 94981 RMD160 d2cea3ae6156b6f583fae5e590695ffb306abb80 SHA1 ab73fcc69d0c74888aea67a698f60cd91b0d3af2 SHA256 bd062a79e35a9a835cfd8eaebe6262bbb195610336cf07435cd2b7df200bf084
+DIST lapack-lite-3.1.1.tgz 5332509 RMD160 d81baafd1f0f9859d9f75ac9b658f743544b5f5b SHA1 1ec4ef90b544cf82bc7b4f770cee6fb46da457c5 SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437
EBUILD blas-reference-19940131-r3.ebuild 1311 RMD160 6e514b757e2e9784117159e04a42560beff89399 SHA1 bc514e8d898129c71e823b22863974cfb7a388f6 SHA256 7a3ee5886911d83c2419e4127d7a6f880b0652c329cc371bc9bb61a1478aded1
MD5 0cf05bbdee2cafe6e9529a3e66716b97 blas-reference-19940131-r3.ebuild 1311
RMD160 6e514b757e2e9784117159e04a42560beff89399 blas-reference-19940131-r3.ebuild 1311
@@ -23,17 +35,31 @@ EBUILD blas-reference-19940131-r4.ebuild 1468 RMD160 adf1924e31badf247dfeab822fa
MD5 d6b5d3aed652089aef88857a908efcba blas-reference-19940131-r4.ebuild 1468
RMD160 adf1924e31badf247dfeab822fa7474707e0f940 blas-reference-19940131-r4.ebuild 1468
SHA256 6b978d4db8161a88bdd8058b6e4a5abc8bf57b94f31053b5c10bad21fd37054b blas-reference-19940131-r4.ebuild 1468
-MISC ChangeLog 5950 RMD160 1b3e8f80663faf95e33a4668185406d280e58c5f SHA1 673cecf8559894e630a163a717230db076653a34 SHA256 39cd026696e5a9ca1800bff3213bb7c76303946a4148edabf436ddfbbbefffce
-MD5 db84e216895e6a72c811746514138a49 ChangeLog 5950
-RMD160 1b3e8f80663faf95e33a4668185406d280e58c5f ChangeLog 5950
-SHA256 39cd026696e5a9ca1800bff3213bb7c76303946a4148edabf436ddfbbbefffce ChangeLog 5950
-MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
-MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
-SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+EBUILD blas-reference-20070226.ebuild 1540 RMD160 296236f06efe17f507f1789ecfbe9512e2c900b0 SHA1 50be918d813e4e85ff282f5472ad123dada70065 SHA256 b4c7c994f2fd87a64c9c2c448c312504ea067f69dde49f4a4b93578138ca61b5
+MD5 53a345f0ffbf5a20a8023f0d94ee022c blas-reference-20070226.ebuild 1540
+RMD160 296236f06efe17f507f1789ecfbe9512e2c900b0 blas-reference-20070226.ebuild 1540
+SHA256 b4c7c994f2fd87a64c9c2c448c312504ea067f69dde49f4a4b93578138ca61b5 blas-reference-20070226.ebuild 1540
+MISC ChangeLog 6532 RMD160 840a2ee43704f885d8a14807efa2fcb81273ff66 SHA1 542eaa0058a74d22ede27343decaf540e8a6e1ab SHA256 46393e6e4774d76cafce49d2e8fcffe610db3182bb469efe782eab1e92191361
+MD5 25d36aa1b678e8a144467de59fe9499e ChangeLog 6532
+RMD160 840a2ee43704f885d8a14807efa2fcb81273ff66 ChangeLog 6532
+SHA256 46393e6e4774d76cafce49d2e8fcffe610db3182bb469efe782eab1e92191361 ChangeLog 6532
+MISC metadata.xml 696 RMD160 89c66792b23057b940a8eb8ea4c05ac8c7d561f0 SHA1 c18e9985fe07bbff5f56ef239ca2a16caa8a6240 SHA256 750713f970e77bfd513933fd3ec27162d41a56d20c4122878618fc78d72f76ab
+MD5 a78fa87c0e44cd202e74a98241acc2fa metadata.xml 696
+RMD160 89c66792b23057b940a8eb8ea4c05ac8c7d561f0 metadata.xml 696
+SHA256 750713f970e77bfd513933fd3ec27162d41a56d20c4122878618fc78d72f76ab metadata.xml 696
MD5 ecda76673bd08fbeaff250b6d71d0902 files/digest-blas-reference-19940131-r3 202
RMD160 722ae21d5fc2d0c9bbc9b800e9bb818a67b96178 files/digest-blas-reference-19940131-r3 202
SHA256 bf5223aac50dd90d82e042c73b1361dea1b1254d133c8af939a9ad236c122018 files/digest-blas-reference-19940131-r3 202
MD5 ecda76673bd08fbeaff250b6d71d0902 files/digest-blas-reference-19940131-r4 202
RMD160 722ae21d5fc2d0c9bbc9b800e9bb818a67b96178 files/digest-blas-reference-19940131-r4 202
SHA256 bf5223aac50dd90d82e042c73b1361dea1b1254d133c8af939a9ad236c122018 files/digest-blas-reference-19940131-r4 202
+MD5 e47577ce12b87f148b170b2226a7cc32 files/digest-blas-reference-20070226 247
+RMD160 f06434c9558a0df45cddbf187e624850b6a4d073 files/digest-blas-reference-20070226 247
+SHA256 34e0e977049b900a8d9c1a0f8a1a9065a6147dc38b4c0850d13f0b75a9be101a files/digest-blas-reference-20070226 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFGywhn1ycZbhPLE2ARAtsLAJsE97Xu9LIF+PgtfJNbIy/dvgZuXQCcCGlf
+BtveQi+B4ytKuq31uIp7GmY=
+=+oXK
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/blas-reference/blas-reference-20070226.ebuild b/sci-libs/blas-reference/blas-reference-20070226.ebuild
new file mode 100644
index 000000000000..a6a38be8ffa8
--- /dev/null
+++ b/sci-libs/blas-reference/blas-reference-20070226.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226.ebuild,v 1.1 2007/08/21 15:44:32 bicatali Exp $
+
+inherit eutils autotools fortran multilib flag-o-matic
+
+LAPACKPV="3.1.1"
+LAPACKPN="lapack-lite"
+
+DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations"
+LICENSE="public-domain"
+HOMEPAGE="http://www.netlib.org/blas/"
+SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz"
+
+SLOT="0"
+IUSE="doc"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-admin/eselect-blas
+ doc? ( app-doc/blas-docs )"
+
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig"
+
+PROVIDE="virtual/blas"
+
+S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}"
+
+pkg_setup() {
+ FORTRAN="g77 gfortran f2c ifc"
+ fortran_pkg_setup
+ if [[ ${FORTRANC:0:2} == "if" ]]; then
+ ewarn "Using Intel Fortran at your own risk"
+ LDFLAGS="$(raw-ldflags)"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotool.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --libdir=/usr/$(get_libdir)/blas/reference \
+ || die "econf failed"
+ emake LDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.reference reference
+}
+
+pkg_postinst() {
+ [[ -z "$(eselect blas show)" ]] && eselect blas set reference
+ elog "To use BLAS reference implementation, you have to issue (as root):"
+ elog "\t eselect blas set reference"
+}
diff --git a/sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch b/sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch
new file mode 100644
index 000000000000..7c9dd9f376db
--- /dev/null
+++ b/sci-libs/blas-reference/files/blas-reference-20070226-autotool.patch
@@ -0,0 +1,243 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-07-16 10:14:29.000000000 +0100
+@@ -0,0 +1,14 @@
++AC_PREREQ(2.61)
++AC_INIT(blas, 20070226, lapack@cs.utk.edu)
++AM_INIT_AUTOMAKE([foreign])
++
++AC_LANG(Fortran 77)
++AC_PROG_F77
++AC_PROG_LIBTOOL
++
++AC_CONFIG_FILES([Makefile
++ BLAS/Makefile
++ BLAS/SRC/Makefile
++ BLAS/TESTING/Makefile
++ BLAS/blas.pc])
++AC_OUTPUT
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2007-07-16 01:51:11.000000000 +0100
+@@ -0,0 +1 @@
++SUBDIRS = BLAS
+--- BLAS/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ BLAS/Makefile.am 2007-08-14 11:38:42.000000000 +0100
+@@ -0,0 +1,7 @@
++SUBDIRS = SRC TESTING
++
++pkgconfigdir = $(libdir)
++pkgconfig_DATA = blas.pc
++
++EXTRA = blas.pc
++
+--- BLAS/blas.pc.in 1970-01-01 01:00:00.000000000 +0100
++++ BLAS/blas.pc.in 2007-08-17 11:38:23.000000000 +0100
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: @PACKAGE_NAME@
++Description: Basic Linear Algebra Subprograms F77 reference implementations
++Version: @PACKAGE_VERSION@
++URL: http://www.netlib.org/blas
++Libs: -lblas
++Libs.private: -lm
+--- BLAS/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ BLAS/SRC/Makefile.am 2007-07-16 01:50:12.000000000 +0100
+@@ -0,0 +1,153 @@
++lib_LTLIBRARIES = libblas.la
++
++libblas_la_SOURCES = \
++ caxpy.f \
++ ccopy.f \
++ cdotc.f \
++ cdotu.f \
++ cgbmv.f \
++ cgemm.f \
++ cgemv.f \
++ cgerc.f \
++ cgeru.f \
++ chbmv.f \
++ chemm.f \
++ chemv.f \
++ cher2.f \
++ cher2k.f \
++ cher.f \
++ cherk.f \
++ chpmv.f \
++ chpr2.f \
++ chpr.f \
++ crotg.f \
++ cscal.f \
++ csrot.f \
++ csscal.f \
++ cswap.f \
++ csymm.f \
++ csyr2k.f \
++ csyrk.f \
++ ctbmv.f \
++ ctbsv.f \
++ ctpmv.f \
++ ctpsv.f \
++ ctrmm.f \
++ ctrmv.f \
++ ctrsm.f \
++ ctrsv.f \
++ dasum.f \
++ daxpy.f \
++ dcabs1.f \
++ dcopy.f \
++ ddot.f \
++ dgbmv.f \
++ dgemm.f \
++ dgemv.f \
++ dger.f \
++ dnrm2.f \
++ drot.f \
++ drotg.f \
++ drotm.f \
++ drotmg.f \
++ dsbmv.f \
++ dscal.f \
++ dsdot.f \
++ dspmv.f \
++ dspr2.f \
++ dspr.f \
++ dswap.f \
++ dsymm.f \
++ dsymv.f \
++ dsyr2.f \
++ dsyr2k.f \
++ dsyr.f \
++ dsyrk.f \
++ dtbmv.f \
++ dtbsv.f \
++ dtpmv.f \
++ dtpsv.f \
++ dtrmm.f \
++ dtrmv.f \
++ dtrsm.f \
++ dtrsv.f \
++ dzasum.f \
++ dznrm2.f \
++ icamax.f \
++ idamax.f \
++ isamax.f \
++ izamax.f \
++ lsame.f \
++ scabs1.f \
++ sasum.f \
++ saxpy.f \
++ scasum.f \
++ scnrm2.f \
++ scopy.f \
++ sdot.f \
++ sdsdot.f \
++ sgbmv.f \
++ sgemm.f \
++ sgemv.f \
++ sger.f \
++ snrm2.f \
++ srot.f \
++ srotg.f \
++ srotm.f \
++ srotmg.f \
++ ssbmv.f \
++ sscal.f \
++ sspmv.f \
++ sspr2.f \
++ sspr.f \
++ sswap.f \
++ ssymm.f \
++ ssymv.f \
++ ssyr2.f \
++ ssyr2k.f \
++ ssyr.f \
++ ssyrk.f \
++ stbmv.f \
++ stbsv.f \
++ stpmv.f \
++ stpsv.f \
++ strmm.f \
++ strmv.f \
++ strsm.f \
++ strsv.f \
++ xerbla.f \
++ zaxpy.f \
++ zcopy.f \
++ zdotc.f \
++ zdotu.f \
++ zdrot.f \
++ zdscal.f \
++ zgbmv.f \
++ zgemm.f \
++ zgemv.f \
++ zgerc.f \
++ zgeru.f \
++ zhbmv.f \
++ zhemm.f \
++ zhemv.f \
++ zher2.f \
++ zher2k.f \
++ zher.f \
++ zherk.f \
++ zhpmv.f \
++ zhpr2.f \
++ zhpr.f \
++ zrotg.f \
++ zscal.f \
++ zswap.f \
++ zsymm.f \
++ zsyr2k.f \
++ zsyrk.f \
++ ztbmv.f \
++ ztbsv.f \
++ ztpmv.f \
++ ztpsv.f \
++ ztrmm.f \
++ ztrmv.f \
++ ztrsm.f \
++ ztrsv.f
+--- BLAS/TESTING/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ BLAS/TESTING/Makefile.am 2007-07-16 01:50:12.000000000 +0100
+@@ -0,0 +1,27 @@
++TESTS = blas_tests
++
++blas_tests:
++ @install -m0755 blas_tests.sh blas_tests
++
++check_PROGRAMS = \
++ xsblat1 xdblat1 xcblat1 xzblat1 \
++ xsblat2 xdblat2 xcblat2 xzblat2 \
++ xsblat3 xdblat3 xcblat3 xzblat3
++
++LDADD = $(top_builddir)/BLAS/SRC/libblas.la
++
++xsblat1_SOURCES = sblat1.f
++xdblat1_SOURCES = dblat1.f
++xcblat1_SOURCES = cblat1.f
++xzblat1_SOURCES = zblat1.f
++
++xsblat2_SOURCES = sblat2.f
++xdblat2_SOURCES = dblat2.f
++xcblat2_SOURCES = cblat2.f
++xzblat2_SOURCES = zblat2.f
++
++xsblat3_SOURCES = sblat3.f
++xdblat3_SOURCES = dblat3.f
++xcblat3_SOURCES = cblat3.f
++xzblat3_SOURCES = zblat3.f
++
+--- BLAS/TESTING/blas_tests.sh 1970-01-01 01:00:00.000000000 +0100
++++ BLAS/TESTING/blas_tests.sh 2007-07-16 01:50:12.000000000 +0100
+@@ -0,0 +1,9 @@
++#!/bin/sh
++
++for t in {c,s,d,z}blat1; do
++ ./x${t}
++done
++
++for t in {c,s,d,z}blat{2,3}; do
++ ./x${t} < ../${t}.in
++done
diff --git a/sci-libs/blas-reference/files/digest-blas-reference-20070226 b/sci-libs/blas-reference/files/digest-blas-reference-20070226
new file mode 100644
index 000000000000..2081b7b6870d
--- /dev/null
+++ b/sci-libs/blas-reference/files/digest-blas-reference-20070226
@@ -0,0 +1,3 @@
+MD5 5feace3f4507a92ef822b2e0b50151d7 lapack-lite-3.1.1.tgz 5332509
+RMD160 d81baafd1f0f9859d9f75ac9b658f743544b5f5b lapack-lite-3.1.1.tgz 5332509
+SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 lapack-lite-3.1.1.tgz 5332509
diff --git a/sci-libs/blas-reference/files/eselect.blas.reference b/sci-libs/blas-reference/files/eselect.blas.reference
new file mode 100644
index 000000000000..edb10ddd10d9
--- /dev/null
+++ b/sci-libs/blas-reference/files/eselect.blas.reference
@@ -0,0 +1,4 @@
+blas/reference/libblas.so /usr/@LIBDIR@/libblas.so
+blas/reference/libblas.so.0 /usr/@LIBDIR@/libblas.so.0
+blas/reference/libblas.a /usr/@LIBDIR@/libblas.a
+../blas/reference/blas.pc /usr/@LIBDIR@/pkgconfig/blas.pc
diff --git a/sci-libs/blas-reference/metadata.xml b/sci-libs/blas-reference/metadata.xml
index b229aec85b8f..c9e6e2943e57 100644
--- a/sci-libs/blas-reference/metadata.xml
+++ b/sci-libs/blas-reference/metadata.xml
@@ -2,4 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<longdescription lang="en">
+The BLAS (Basic Linear Algebra Subprograms) are high quality "building
+block" routines for performing basic vector and matrix operations. Level 1
+BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations,
+and Level 3 BLAS do matrix-matrix operations. Because the BLAS are
+efficient, portable, and widely available, they're commonly used in the
+development of high quality linear algebra software, LAPACK for
+example. This packages implements the reference FORTRAN 77 library.
+</longdescription>
</pkgmetadata>