aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/alternatives-2.eclass2
-rw-r--r--sci-libs/cblas-reference/Manifest2
-rw-r--r--sci-libs/xblas/ChangeLog20
-rw-r--r--sci-libs/xblas/Manifest4
-rw-r--r--sci-libs/xblas/metadata.xml11
-rw-r--r--sci-libs/xblas/xblas-1.0.248.ebuild78
6 files changed, 115 insertions, 2 deletions
diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
index bbbe6e081..d39a4af00 100644
--- a/eclass/alternatives-2.eclass
+++ b/eclass/alternatives-2.eclass
@@ -9,7 +9,7 @@
ALTERNATIVES_DIR="/etc/env.d/alternatives"
-DEPEND=">=app-admin/eselect-1.2.15-r1"
+DEPEND=">=app-admin/eselect-1.2.16-r1"
RDEPEND="${DEPEND}
!app-admin/eselect-blas
!app-admin/eselect-cblas
diff --git a/sci-libs/cblas-reference/Manifest b/sci-libs/cblas-reference/Manifest
index 45401cb6a..06d50c8ae 100644
--- a/sci-libs/cblas-reference/Manifest
+++ b/sci-libs/cblas-reference/Manifest
@@ -1,4 +1,4 @@
DIST cblas-reference-20110218.tgz 197468 RMD160 ab908605311ad5dfe280c5fb0e6a1e94156b7a04 SHA1 d6970cf52592ef67674a61c78bbd055a4e9d4680 SHA256 0f6354fd67fabd909baf57ced2ef84e962db58fae126e4f41b21dd4fec60a2a3
EBUILD cblas-reference-20110218.ebuild 2414 RMD160 e15b7dc428ba9de067282726b713599d06c33ffc SHA1 100d95fbc5aedde73b8b03e69b0b05feb8cf2d4b SHA256 19f4e1f2ac29c9cf6d4a77c9f2afad5308c13b0d94847fc72188adf46c8a6a27
-MISC ChangeLog 6624 RMD160 0d7fa08716f83149dc18005871dd6b1b094b273d SHA1 7da65bcee3e62e2f838eef8fdb52bf48a1d15233 SHA256 31b834eb10ab4312392b935f9d39b8a9ecbe378792ae8d37fc22332234e1b460
+MISC ChangeLog 6805 RMD160 2d18af58279c09826e3bfab110e9c156e59292ad SHA1 443e63ec021a33d85fd72d1f89615934852d1499 SHA256 c82f5d98068f3ddc02562a2b8e4754eefac96d95e620682cb74ff34e9b642701
MISC metadata.xml 747 RMD160 93e7287d9fb76504fcffa359adca454d42518e33 SHA1 b4fb783c4233b29cf30a9576905d9943f6d6ed0c SHA256 d184bbc83e471aa894863f9350d4c13a096d22c513e2a4de53d9075c5e4d9fa8
diff --git a/sci-libs/xblas/ChangeLog b/sci-libs/xblas/ChangeLog
new file mode 100644
index 000000000..24b42cbb4
--- /dev/null
+++ b/sci-libs/xblas/ChangeLog
@@ -0,0 +1,20 @@
+# ChangeLog for sci-libs/xblas
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*xblas-1.0.248 (22 Aug 2011)
+
+ 22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +xblas-1.0.248.ebuild,
+ +metadata.xml:
+ Imported from bicatali overlay
+
+ 31 May 2011; Sébastien Fabbro <bicatali@gentoo.org> xblas-1.0.248.ebuild:
+ Removed libm dependendency. Make shared lib consistent with other numeric
+ libraries packages. Switched to EAPI4.
+
+ 09 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> xblas-1.0.248.ebuild:
+ Added eselect profile
+
+ 03 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> ChangeLog:
+ Initial import
+
diff --git a/sci-libs/xblas/Manifest b/sci-libs/xblas/Manifest
new file mode 100644
index 000000000..2954f687e
--- /dev/null
+++ b/sci-libs/xblas/Manifest
@@ -0,0 +1,4 @@
+DIST xblas-1.0.248.tar.gz 2087424 RMD160 32e1b394efd9293000b669330c538718f5cef47b SHA1 dbe70a98c500db759f13031a4a951715ca3ba967 SHA256 b5fe7c71c2da1ed9bcdc5784a12c5fa9fb417577513fe8a38de5de0007f7aaa1
+EBUILD xblas-1.0.248.ebuild 1815 RMD160 a370ca18bfc0f7200d2c247db550880ed41bf756 SHA1 e86adccd2f187114bdb9ce24b15917babd060607 SHA256 8775654cc62c838a525f8c74aada6d051e4dcada9f196c29865e69c99aa418a1
+MISC ChangeLog 655 RMD160 c061aa9e884c991f5fd2693ca9bf6430a8254f3c SHA1 ee29b9c6468304aa91489c85fb83c7c5d5f1e6db SHA256 cf8ffe3cd9637862e646d716884171c44629bb8c75884fc4a5dc8a23e28cc4d4
+MISC metadata.xml 457 RMD160 51e6f1c9e69901d204fd13ff2ecf76b571475d91 SHA1 0ae2141ee2e201a00dbbffb96cd8f473ea2c44cc SHA256 40b841bb013b90fe241b2a532c04ee6dfbb4684d9f4889878bfd7f38df311dc3
diff --git a/sci-libs/xblas/metadata.xml b/sci-libs/xblas/metadata.xml
new file mode 100644
index 000000000..0331b9813
--- /dev/null
+++ b/sci-libs/xblas/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ The XBLAS library of routines is part of a reference implementation for
+ the Dense and Banded Basic Linear Algebra Subroutines, along with their
+ Extended and Mixed Precision versions, as documented in Chapters 2 and 4
+ of the new BLAS Standard.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/xblas/xblas-1.0.248.ebuild b/sci-libs/xblas/xblas-1.0.248.ebuild
new file mode 100644
index 000000000..f9663c467
--- /dev/null
+++ b/sci-libs/xblas/xblas-1.0.248.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
+HOMEPAGE="http://www.netlib.org/xblas/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fortran static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+make_shared_lib() {
+ local libstatic=${1}
+ local soname=$(basename "${1%.a}").so.$(get_major_version)
+ shift
+ einfo "Making ${soname}"
+ ${LINK:-$(tc-getCC)} ${LDFLAGS} \
+ -shared -Wl,-soname="${soname}" \
+ -Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
+ "$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
+ ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
+}
+
+src_configure() {
+ econf $(use_enable fortran)
+}
+
+src_compile() {
+ # default target builds and runs tests - split
+ # build first static libs because of fPIC afterwards
+ # and we link tests with shared ones
+ if use static-libs; then
+ emake makefiles
+ emake lib XBLASLIB=lib${PN}_nonpic.a
+ emake clean
+ fi
+ sed -i \
+ -e 's:\(CFLAGS.*\).*:\1 -fPIC:' \
+ make.inc || die
+ emake makefiles
+ emake lib
+ make_shared_lib lib${PN}.a
+}
+
+src_test() {
+ emake tests
+}
+
+src_install() {
+ dolib.so lib${PN}.so*
+ use static-libs && newlib.a lib${PN}_nonpic.a lib${PN}.a
+ dodoc README README.devel
+ use doc && dodoc doc/report.ps
+
+ # pkg-config file for our multliple blas stuff
+ cat > ${PN}.pc <<-EOF
+ prefix=${EPREFIX}/usr
+ libdir=\${prefix}/$(get_libdir)
+ includedir=\${prefix}/include/${PN}
+ Name: ${PN}
+ Description: ${DESCRIPTION}
+ Version: ${PV}
+ URL: ${HOMEPAGE}
+ Libs: -L\${libdir} -l${PN}
+ Cflags: -I\${includedir}
+ EOF
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc || die
+}