aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <sebfabbro@gmail.com>2011-08-22 20:05:05 +0100
committerSébastien Fabbro <sebfabbro@gmail.com>2011-08-22 20:05:05 +0100
commite3ba31c1f1b59363d9a646abad9b0b3c905fce00 (patch)
treeeb7fa07dec2d472b766cc644bd2d5f74ed651b99
parentadded mpiblacs (diff)
downloadsci-e3ba31c1f1b59363d9a646abad9b0b3c905fce00.tar.gz
sci-e3ba31c1f1b59363d9a646abad9b0b3c905fce00.tar.bz2
sci-e3ba31c1f1b59363d9a646abad9b0b3c905fce00.zip
added gsl
-rw-r--r--sci-libs/gsl/ChangeLog374
-rw-r--r--sci-libs/gsl/Manifest5
-rw-r--r--sci-libs/gsl/files/gsl-1.15-pkgconfig.patch16
-rw-r--r--sci-libs/gsl/gsl-1.15-r1.ebuild42
-rw-r--r--sci-libs/gsl/metadata.xml18
5 files changed, 455 insertions, 0 deletions
diff --git a/sci-libs/gsl/ChangeLog b/sci-libs/gsl/ChangeLog
new file mode 100644
index 000000000..3de2c0133
--- /dev/null
+++ b/sci-libs/gsl/ChangeLog
@@ -0,0 +1,374 @@
+# ChangeLog for sci-libs/gsl
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.77 2010/08/09 09:32:55 xarthisius Exp $
+
+ 22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +gsl-1.15-r1.ebuild,
+ +files/gsl-1.15-pkgconfig.patch, +metadata.xml:
+ Imported from bicatali overlay
+
+*gsl-1.15-r1 (21 May 2011)
+
+ 21 May 2011; Sébastien Fabbro <bicatali@gentoo.org> -gsl-1.14-r2.ebuild,
+ -files/gsl-1.14-pkgconfig.patch, +gsl-1.15-r1.ebuild,
+ +files/gsl-1.15-pkgconfig.patch:
+ Version bump
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.14-r2.ebuild:
+ Switched to alternatives-2 framework
+
+*gsl-1.14-r2 (09 Nov 2010)
+
+ 09 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +gsl-1.14-r2.ebuild,
+ +files/gsl-1.14-pkgconfig.patch, +metadata.xml:
+ Respect more upstream with respect to cblas. Do not depend on cblas at
+ compile time, only at run-time with the pkg-config utilities or gsl-config
+ and GSL_CBLAS_LIB environment variable. Install a gslcblas.pc pkg-config
+ file. Ebuild switched to autototools-utils eclass
+
+ 09 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ -files/gsl-1.6-deps.diff, -files/gsl-1.12-cblas.patch, gsl-1.13-r1.ebuild,
+ gsl-1.13-r2.ebuild, gsl-1.14.ebuild, gsl-1.14-r1.ebuild, metadata.xml:
+ Renamed cblas to cblas-external wrt bug 330251. Dropped ~ppc-macos due to
+ unsolved deps. Remove old patches.
+
+ 18 Jul 2010; <nixnut@gentoo.org> gsl-1.14.ebuild:
+ ppc stable #325179
+
+ 18 Jul 2010; Raúl Porcel <armin76@gentoo.org> gsl-1.14.ebuild:
+ alpha/arm/ia64/s390/sh/sparc stable wrt #325179
+
+ 10 Jul 2010; Christian Faulhammer <fauli@gentoo.org> gsl-1.14.ebuild:
+ stable x86, bug 325179
+
+ 09 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> gsl-1.14.ebuild:
+ ppc64 stable wrt #325179
+
+ 01 Jul 2010; Jeroen Roovers <jer@gentoo.org> gsl-1.14.ebuild:
+ Stable for HPPA (bug #325179).
+
+ 25 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.14-r1.ebuild:
+ Removed forced pic
+
+*gsl-1.14-r1 (25 Jun 2010)
+
+ 25 Jun 2010; Justin Lecher <jlec@gentoo.org> +gsl-1.14-r1.ebuild:
+ Include static lib support, force to pic
+
+ 24 Jun 2010; Pacho Ramos <pacho@gentoo.org> gsl-1.14.ebuild:
+ stable amd64, bug 325179
+
+ 09 Apr 2010; Markos Chandras <hwoarang@gentoo.org> gsl-1.13-r1.ebuild:
+ Stable on amd64 wrt bug #299826
+
+*gsl-1.14 (09 Apr 2010)
+
+ 09 Apr 2010; Sébastien Fabbro <bicatali@gentoo.org> +gsl-1.14.ebuild,
+ +files/gsl-1.14-cblas.patch:
+ Version bump
+
+*gsl-1.13-r2 (07 Mar 2010)
+
+ 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> +gsl-1.13-r2.ebuild:
+ Moved to EAPI=3 for PREFIX support, imported prefix patches from overlay,
+ keyworded as in overlay
+
+ 30 Jan 2010; Raúl Porcel <armin76@gentoo.org> gsl-1.13-r1.ebuild:
+ alpha/arm/ia64/s390/sh/sparc stable wrt #299826
+
+ 22 Jan 2010; Jeroen Roovers <jer@gentoo.org> gsl-1.13-r1.ebuild:
+ Stable for HPPA (bug #299826).
+
+ 12 Jan 2010; nixnut <nixnut@gentoo.org> gsl-1.13-r1.ebuild:
+ ppc stable #299826
+
+ 11 Jan 2010; Brent Baude <ranger@gentoo.org> gsl-1.13-r1.ebuild:
+ stable ppc64, bug 299826
+
+ 07 Jan 2010; Christian Faulhammer <fauli@gentoo.org> gsl-1.13-r1.ebuild:
+ stable x86, bug 299826
+
+ 20 Sep 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ files/gsl-1.13-cblas-vars.patch:
+ Fix patch. Thanks to Livid
+
+*gsl-1.13-r1 (20 Sep 2009)
+
+ 20 Sep 2009; Alexey Shvetsov <alexxy@gentoo.org> +gsl-1.13-r1.ebuild,
+ +files/gsl-1.13-cblas-vars.patch:
+ Fix bug #285468. Thanks to Livid
+
+*gsl-1.13 (17 Sep 2009)
+
+ 17 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> -gsl-1.9.ebuild,
+ -gsl-1.11.ebuild, +gsl-1.13.ebuild, +files/gsl-1.13-cblas.patch,
+ -files/gsl-cblas.patch:
+ Version bump, removed old. Note gsl-1.9-r1 is kept for GPL-2 compat until
+ we close bug #199451
+
+ 23 Apr 2009; Raúl Porcel <armin76@gentoo.org> gsl-1.12.ebuild:
+ arm/ia64/s390/sh/sparc stable wrt #265339
+
+ 18 Apr 2009; Markus Meier <maekke@gentoo.org> gsl-1.12:
+ amd64/x86 stable, bug #265339
+
+ 15 Apr 2009; Brent Baude <ranger@gentoo.org> gsl-1.12.ebuild:
+ Marking gsl-1.12 ppc64 for bug 265339
+
+ 12 Apr 2009; Tobias Klausmann <klausman@gentoo.org> gsl-1.12.ebuild:
+ Stable on alpha, bug #265339
+
+ 11 Apr 2009; nixnut <nixnut@gentoo.org> gsl-1.12.ebuild:
+ ppc stable #265339
+
+ 08 Apr 2009; Jeroen Roovers <jer@gentoo.org> gsl-1.12.ebuild:
+ Stable for HPPA (bug #265339).
+
+ 20 Mar 2009; Peter Volkov <pva@gentoo.org> gsl-1.12.ebuild:
+ ~mips back, bug #204072
+
+*gsl-1.12 (19 Jan 2009)
+
+ 19 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/gsl-1.12-cblas.patch, -gsl-1.10.ebuild, +gsl-1.12.ebuild:
+ Version bump. cblas patch adapted and added a check on the external
+ cblas lib not to be gsl itself.
+
+ 09 Nov 2008; Raúl Porcel <armin76@gentoo.org> gsl-1.11.ebuild:
+ alpha/ia64 stable wrt #245838
+
+ 08 Nov 2008; Markus Meier <maekke@gentoo.org> gsl-1.11.ebuild:
+ amd64/x86 stable, bug #245838
+
+ 08 Nov 2008; nixnut <nixnut@gentoo.org> gsl-1.11.ebuild:
+ Stable on ppc wrt bug 245838
+
+ 07 Nov 2008; Jeroen Roovers <jer@gentoo.org> gsl-1.11.ebuild:
+ Stable for HPPA (bug #245838).
+
+ 06 Nov 2008; Ferris McCormick <fmccor@gentoo.org> gsl-1.11.ebuild:
+ Sparc stable --- Bug #245838 --- in use about 7 months w/o problems.
+
+ 07 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
+ Add USE flag description to metadata wrt GLEP 56.
+
+*gsl-1.11 (31 Mar 2008)
+
+ 31 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org> -gsl-1.8.ebuild,
+ +gsl-1.11.ebuild:
+ Version bump. Removed icc test since it now compiles and tests are fine
+
+ 09 Jan 2008; Jeroen Roovers <jer@gentoo.org> gsl-1.9-r1.ebuild,
+ gsl-1.10.ebuild:
+ Marked ~hppa (bug #204072).
+
+ 02 Jan 2008; Raúl Porcel <armin76@gentoo.org> gsl-1.10.ebuild:
+ Re-add ~ia64
+
+ 11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.9-r1.ebuild,
+ gsl-1.10.ebuild:
+ fixed lib->get_libdir for eselect bug workaround
+
+*gsl-1.10 (10 Oct 2007)
+
+ 10 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/gsl-cblas.patch, -gsl-1.4.ebuild, -gsl-1.6.ebuild, -gsl-1.7.ebuild,
+ gsl-1.9-r1.ebuild, +gsl-1.10.ebuild:
+ Version bump, removed old versions, added work around eselect bug #189942.
+ Added new cblas use flag to allow use of external cblas library.
+
+ 16 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ files/eselect.cblas.gsl, metadata.xml:
+ fixed link for cblas.h, closing bug #192718, added longdescription.
+
+*gsl-1.9-r1 (21 Aug 2007)
+
+ 21 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +files/cblas.pc.in,
+ +files/eselect.cblas.gsl, +gsl-1.9-r1.ebuild:
+ Added eselect and cblas pkg-config files to be a possible implementation of
+ virtual/cblas. General cleanup continued.
+
+ 12 Jun 2007; Christoph Mende <angelos@gentoo.org> gsl-1.9.ebuild:
+ Stable on amd64 wrt bug 180916
+
+ 09 Jun 2007; nixnut <nixnut@gentoo.org> gsl-1.9.ebuild:
+ Stable on ppc wrt bug 180916
+
+ 07 Jun 2007; Markus Rothe <corsair@gentoo.org> gsl-1.9.ebuild:
+ Stable on ppc64; bug #180916
+
+ 06 Jun 2007; Raúl Porcel <armin76@gentoo.org> gsl-1.9.ebuild:
+ alpha/ia64/x86 stable wrt #180916
+
+ 05 Jun 2007; Jeroen Roovers <jer@gentoo.org> gsl-1.9.ebuild:
+ Stable for HPPA (bug #180916).
+
+ 05 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> gsl-1.9.ebuild:
+ Stable on sparc wrt #180916
+
+ 28 Mar 2007; Fabian Groffen <grobian@gentoo.org> gsl-1.7.ebuild,
+ gsl-1.8.ebuild, gsl-1.9.ebuild:
+ Dropped ppc-macos keyword, see you in prefix
+
+ 28 Mar 2007; Raúl Porcel <armin76@gentoo.org> gsl-1.8.ebuild:
+ ia64 stable wrt bug 167860
+
+ 27 Mar 2007; Michael Cummings <mcummings@gentoo.org> gsl-1.9.ebuild:
+ Tested on swarm for USE-flag changes in dev-perl/PDL
+
+ 15 Mar 2007; Markus Dittrich <markusle@gentoo.org> gsl-1.9.ebuild:
+ Some general clean-ups thanks to Santiago M. Mola Velasco
+ <cooldwind@gmail.com> (see bug #170919).
+
+ 06 Mar 2007; Simon Stelling <blubb@gentoo.org> gsl-1.8.ebuild:
+ stable on amd64; bug 169212
+
+ 28 Feb 2007; Roy Marples <uberlord@gentoo.org> gsl-1.9.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 24 Feb 2007; nixnut <nixnut@gentoo.org> gsl-1.8.ebuild:
+ Stable on ppc wrt bug 167860
+
+ 24 Feb 2007; Markus Rothe <corsair@gentoo.org> gsl-1.8.ebuild:
+ Stable on ppc64; bug #167860
+
+ 22 Feb 2007; Christian Faulhammer <opfer@gentoo.org> gsl-1.8.ebuild:
+ stable x86; bug 167860
+
+ 22 Feb 2007; Jeroen Roovers <jer@gentoo.org> gsl-1.8.ebuild:
+ Stable for HPPA (bug #167860).
+
+*gsl-1.9 (21 Feb 2007)
+
+ 21 Feb 2007; Markus Dittrich <markusle@gentoo.org> +gsl-1.9.ebuild:
+ Version bump.
+
+ 21 Feb 2007; Markus Dittrich <markusle@gentoo.org> gsl-1.8.ebuild:
+ Removed filtering of -mfpmath=sse since otherwise tests fail
+ on a -mfpmath=sse built toolchain.
+
+ 06 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org> gsl-1.8.ebuild:
+ Stable on sparc
+
+ 18 Jan 2007; Ferris McCormick <fmccor@gentoo.org> gsl-1.7.ebuild:
+ Stable on sparc (no problems reported for 15 months).
+
+ 01 Nov 2006; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog:
+ Update for my nick change spyderous -> dberkholz.
+
+ 17 Jun 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/gsl-1.6-deps.diff, gsl-1.8.ebuild:
+ (#134063) Fix for --as-needed.
+
+ 16 Jun 2006; Markus Rothe <corsair@gentoo.org> gsl-1.7.ebuild:
+ Stable on ppc64
+
+ 23 May 2006; Markus Rothe <corsair@gentoo.org> gsl-1.4.ebuild:
+ Stable on ppc64
+
+*gsl-1.8 (11 Apr 2006)
+
+ 11 Apr 2006; George Shapovalov <george@gentoo.org> +gsl-1.8.ebuild:
+ new version
+
+ 10 Mar 2006; Aron Griffis <agriffis@gentoo.org> gsl-1.7.ebuild:
+ Mark 1.7 stable on ia64
+
+ 22 Feb 2006; Emanuele Giaquinta <exg@gentoo.org> gsl-1.7.ebuild:
+ Stable on ppc.
+
+ 08 Feb 2006; Aron Griffis <agriffis@gentoo.org> gsl-1.7.ebuild:
+ Mark 1.7 stable on alpha
+
+ 18 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> gsl-1.7.ebuild:
+ Stable on amd64.
+
+ 10 Nov 2005; Fabian Groffen <grobian@gentoo.org> gsl-1.7.ebuild:
+ Marked ~ppc-macos (bug #111578)
+
+*gsl-1.7 (14 Oct 2005)
+
+ 14 Oct 2005; Marcus D. Hanwell <cryos@gentoo.org> +gsl-1.7.ebuild:
+ Version bump, closes bug 106895.
+
+ 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -files/k6-undef.diff,
+ -gsl-1.3.ebuild:
+ Removed obsolete version and unused patch.
+
+*gsl-1.6 (16 Jan 2005)
+
+ 16 Jan 2005; Olivier Fisette <ribosome@gentoo.org> gsl-1.3.ebuild,
+ gsl-1.4.ebuild, +gsl-1.6.ebuild:
+ New version. Fixed HOMEPAGE and SRC_URI (use the GNU mirrors).
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+*gsl-1.4 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/k6-undef.diff, +gsl-1.3.ebuild, +gsl-1.4.ebuild:
+ Moved from dev-libs/gsl to sci-libs/gsl.
+
+ 23 Dec 2004; Markus Rothe <corsair@gentoo.org> gsl-1.4.ebuild:
+ Added ~ppc64 to KEYWORDS; bug #74046
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> gsl-1.3.ebuild,
+ gsl-1.4.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 23 May 2004; Bryan Østergaard <kloeri@gentoo.org> gsl-1.4.ebuild:
+ Stable on alpha.
+
+ 02 May 2004; David Holm <dholm@gentoo.org> gsl-1.4.ebuild:
+ Added to ~ppc.
+
+ 14 Apr 2004; <kloeri@gentoo.org> gsl-1.4.ebuild:
+ Keyworded ~alpha.
+
+ 10 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> gsl-1.0.ebuild,
+ gsl-1.1.1.ebuild, gsl-1.2.ebuild, gsl-1.3.ebuild, gsl-1.4.ebuild:
+ Cleanup, bump to stable
+
+ 21 Nov 2003; George Shapovalov <george@gentoo.org> gsl-1.3.ebuild, gsl-1.4.ebuild :
+ added "filter-mpmath sse", fixes #33059
+
+*gsl-1.4 (18 Nov 2003)
+
+ 18 Nov 2003; Stephen Diener <sediener@gentoo.org> gsl-1.4.ebuild:
+ Version bump.
+
+ 13 Jun 2003; George Shapovalov <george@gentoo.org> gsl-1.3.ebuild :
+ added filter-flags -ffast-math (#22696), some cleanups.
+
+*gsl-1.1.1 (12 Jun 2003)
+
+ 12 Jun 2003; <msterret@gentoo.org> gsl-1.1.1.ebuild:
+ fix Header
+
+*gsl-1.3 (14 Feb 2003)
+
+ 14 Feb 2003; Martin Holzer <mholzer@gentoo.org> gsl-1.3.ebuild,
+ files/digest-gsl-1.3 ChangeLog :
+ Version bump. Closes #15665.
+
+*gsl-1.2 (06 Aug 2002)
+
+ 18 Oct 2002; George Shapovalov <george@gentoo.org> gsl-1.2.ebuild,
+ files/k6-undef.diff :
+
+ fix building on k6 systems. Thanks to Charles G. Waldman <cgw@alum.mit.edu>, #9011
+
+ 06 Aug 2002; George Shapovalov <george@gentoo.org> gsl-1.2.ebuild,
+ files/digest-gsl-1.2 :
+
+ new version, renaiming old ebuild sufficed
+
+*gsl-1.0 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
new file mode 100644
index 000000000..27e9301f8
--- /dev/null
+++ b/sci-libs/gsl/Manifest
@@ -0,0 +1,5 @@
+AUX gsl-1.15-pkgconfig.patch 418 RMD160 d961090b4ee6a6821d61bc534e7632c8159c5ac0 SHA1 4c4b6f577c5059e5f8cedf93c2638fbc7111b0a4 SHA256 774cc4c10ee447394e65e54a4d7cccbf819b57c20b3f9069d2ffd7b481d0e0ac
+DIST gsl-1.15.tar.gz 3281134 RMD160 f34aa2a6514228f7df42fc94638286bcce5cd94c SHA1 d914f84b39a5274b0a589d9b83a66f44cd17ca8e SHA256 85b907e57902e2b7606ef3aef960302ffdd13bd9dc5b8fcbfa75e4f0bf340ea3
+EBUILD gsl-1.15-r1.ebuild 1143 RMD160 0249728a9dddfb6f786c872c4f960fb24bd631d6 SHA1 f8bbc663402ff074c8021cd14d5d1090b7f66183 SHA256 454a73af4dfe25ca5547510cd5c6ffa84b5c6683622159778b177686ee1c817d
+MISC ChangeLog 12680 RMD160 1bfe8a74cc3692041ffd8b7811827f08f30763d5 SHA1 b3e6cc43a6257ac7110db7813099939a54b3f1f4 SHA256 02530c556b43d2219d70226f3353d52a264ca984186d5b4089bb93f1864bc4e2
+MISC metadata.xml 858 RMD160 aa5fcc2297d721a8e585bba28cfbe797c91f00a4 SHA1 4aacae953b1c804f9b123c5934093ab8faeac628 SHA256 17013b384e9d03536d612c4b5daef4e5ce6b7990bfe5265bf0303101dec748ed
diff --git a/sci-libs/gsl/files/gsl-1.15-pkgconfig.patch b/sci-libs/gsl/files/gsl-1.15-pkgconfig.patch
new file mode 100644
index 000000000..a29f461f6
--- /dev/null
+++ b/sci-libs/gsl/files/gsl-1.15-pkgconfig.patch
@@ -0,0 +1,16 @@
+--- gsl.pc.in.orig 2011-05-21 15:14:23.000000000 +0100
++++ gsl.pc.in 2011-05-21 15:15:03.000000000 +0100
+@@ -2,10 +2,11 @@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+ includedir=@includedir@
+-GSL_CBLAS_LIB=-lgslcblas
++
+
+ Name: GSL
+ Description: GNU Scientific Library
+ Version: @VERSION@
+-Libs: @GSL_LIBS@ ${GSL_CBLAS_LIB} @GSL_LIBM@ @LIBS@
++Libs: @GSL_LIBS@ @GSL_LIBM@ @LIBS@
+ Cflags: @GSL_CFLAGS@
++Requires: cblas
diff --git a/sci-libs/gsl/gsl-1.15-r1.ebuild b/sci-libs/gsl/gsl-1.15-r1.ebuild
new file mode 100644
index 000000000..9d167808c
--- /dev/null
+++ b/sci-libs/gsl/gsl-1.15-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils autotools-utils alternatives-2
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="http://www.gnu.org/software/gsl/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-pkgconfig.patch" )
+
+src_install() {
+ autotools-utils_src_install
+ local libname=gslcblas
+
+ cat <<-EOF > ${libname}.pc
+ prefix=${EPREFIX}/usr
+ libdir=\${prefix}/$(get_libdir)
+ includedir=\${prefix}/include
+ Name: ${libname}
+ Description: ${DESCRIPTION} CBLAS implementation
+ Version: ${PV}
+ URL: ${HOMEPAGE}
+ Libs: -L\${libdir} -l${libname}
+ Cflags: -I\${includedir}
+ EOF
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${libname}.pc
+ alternatives_for cblas gsl 0 \
+ /usr/$(get_libdir)/pkgconfig/cblas.pc ${libname}.pc \
+ /usr/include/cblas.h gsl/gsl_cblas.h
+}
diff --git a/sci-libs/gsl/metadata.xml b/sci-libs/gsl/metadata.xml
new file mode 100644
index 000000000..54ab246fb
--- /dev/null
+++ b/sci-libs/gsl/metadata.xml
@@ -0,0 +1,18 @@
+<?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 GNU Scientific Library (GSL) is a collection of routines for
+ numerical analysis. The routines are written from scratch by the GSL
+ team in C, and present a modern API for C programmers, while allowing
+ wrappers to be written for very high level languages.
+
+ GSL includes data types and routines for complex numbers, vectors,
+ matrices, basic linear algebra subroutines (BLAS), eigensystems,
+ simulated annealing, minimization, root finding, pseudo-random
+ numbers, least-squares fitting, fast Fourier transforms (FFT),
+ differential equations, quadrature, Monte Carlo integration, special
+ functions, physical constants, and much more.
+</longdescription>
+</pkgmetadata>