Moved from dev-libs/gsl to sci-libs/gsl.
authorOlivier Fisette <ribosome@gentoo.org>
Tue, 28 Dec 2004 20:27:30 +0000 (20:27 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Tue, 28 Dec 2004 20:27:30 +0000 (20:27 +0000)
sci-libs/gsl/ChangeLog [new file with mode: 0644]
sci-libs/gsl/Manifest [new file with mode: 0644]
sci-libs/gsl/files/digest-gsl-1.3 [new file with mode: 0644]
sci-libs/gsl/files/digest-gsl-1.4 [new file with mode: 0644]
sci-libs/gsl/files/k6-undef.diff [new file with mode: 0644]
sci-libs/gsl/gsl-1.3.ebuild [new file with mode: 0644]
sci-libs/gsl/gsl-1.4.ebuild [new file with mode: 0644]
sci-libs/gsl/metadata.xml [new file with mode: 0644]

diff --git a/sci-libs/gsl/ChangeLog b/sci-libs/gsl/ChangeLog
new file mode 100644 (file)
index 0000000..262233d
--- /dev/null
@@ -0,0 +1,73 @@
+# ChangeLog for dev-libs/gsl
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.1 2004/12/28 20:27:30 ribosome Exp $
+
+*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 (file)
index 0000000..3765150
--- /dev/null
@@ -0,0 +1,7 @@
+MD5 76af4b4275632b39d899d389d8b09119 ChangeLog 2251
+MD5 4d6c1ddff7e618ceaa8da8ff10e59cf5 gsl-1.3.ebuild 1016
+MD5 9a1b06543436e529e4e9a7eb9808ad6b gsl-1.4.ebuild 772
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 19c1fec1e698b1a7928d072be94e1aef files/digest-gsl-1.3 60
+MD5 5f0a27845cdb652d4720cf49199a0770 files/digest-gsl-1.4 60
+MD5 c7dae15dca92a4eac63ec297ec7b28ec files/k6-undef.diff 1444
diff --git a/sci-libs/gsl/files/digest-gsl-1.3 b/sci-libs/gsl/files/digest-gsl-1.3
new file mode 100644 (file)
index 0000000..31b366b
--- /dev/null
@@ -0,0 +1 @@
+MD5 3696de79ad2c788871fae698e41f671b gsl-1.3.tar.gz 2052026
diff --git a/sci-libs/gsl/files/digest-gsl-1.4 b/sci-libs/gsl/files/digest-gsl-1.4
new file mode 100644 (file)
index 0000000..e1fe555
--- /dev/null
@@ -0,0 +1 @@
+MD5 7513e13525c073dc07e02cc4354294e2 gsl-1.4.tar.gz 2211031
diff --git a/sci-libs/gsl/files/k6-undef.diff b/sci-libs/gsl/files/k6-undef.diff
new file mode 100644 (file)
index 0000000..0fc3ac2
--- /dev/null
@@ -0,0 +1,43 @@
+diff -u gsl-1.2-r1-orig/ode-initval/rk8pd.c gsl-1.2-r1/ode-initval/rk8pd.c
+--- gsl-1.2-r1-orig/ode-initval/rk8pd.c        2002-10-10 22:22:37.000000000 -0500
++++ gsl-1.2-r1/ode-initval/rk8pd.c     2002-10-11 02:09:26.000000000 -0500
+@@ -29,6 +29,10 @@
+ 
+ #include "odeiv_util.h"
+ 
++/* There is a variable here named k6, make sure it is not
++   defined as processor type */
++#undef k6
++
+ /* Prince-Dormand constants */
+ 
+ static const double Abar[] = {
+diff -u gsl-1.2-r1-orig/ode-initval/rkck.c gsl-1.2-r1/ode-initval/rkck.c
+--- gsl-1.2-r1-orig/ode-initval/rkck.c 2002-10-10 22:21:51.000000000 -0500
++++ gsl-1.2-r1/ode-initval/rkck.c      2002-10-11 02:09:42.000000000 -0500
+@@ -29,6 +29,10 @@
+ 
+ #include "odeiv_util.h"
+ 
++/* There is a variable here named k6, make sure it is not
++   defined as processor type */
++#undef k6
++
+ /* Cash-Karp constants */
+ static const double ah[] = { 1.0 / 5.0, 0.3, 3.0 / 5.0, 1.0, 7.0 / 8.0 };
+ static const double b21 = 1.0 / 5.0;
+diff -u gsl-1.2-r1-orig/ode-initval/rkf45.c gsl-1.2-r1/ode-initval/rkf45.c
+--- gsl-1.2-r1-orig/ode-initval/rkf45.c        2002-10-10 22:22:41.000000000 -0500
++++ gsl-1.2-r1/ode-initval/rkf45.c     2002-10-11 02:07:27.000000000 -0500
+@@ -27,6 +27,11 @@
+ 
+ #include "odeiv_util.h"
+ 
++/* There is a variable here named k6, make sure it is not
++   defined as processor type */
++#undef k6
++
++
+ /* Runge-Kutta-Fehlberg constants */
+ static const double ah[] = { 1.0/4.0, 3.0/8.0, 12.0/13.0, 1.0, 1.0/2.0 };
+ 
diff --git a/sci-libs/gsl/gsl-1.3.ebuild b/sci-libs/gsl/gsl-1.3.ebuild
new file mode 100644 (file)
index 0000000..4698765
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.3.ebuild,v 1.1 2004/12/28 20:27:30 ribosome Exp $
+
+IUSE=""
+
+inherit flag-o-matic
+
+DESCRIPTION="The GNU Scientific Library"
+SRC_URI="http://mirrors.rcn.net/pub/sourceware/gsl/${P}.tar.gz"
+HOMEPAGE="http://sources.redhat.com/gsl/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 sparc"
+
+DEPEND="virtual/libc"
+
+replace-flags k6-3 i586
+replace-flags k6-2 i586
+replace-flags k6 i586
+filter-flags -ffast-math
+filter-mfpmath sse
+
+
+src_compile() {
+       #Avoid locking (can break parallel builds)
+       local myconf
+       myconf="--disable-libtool-lock"
+
+       econf ${myconf} || die
+       emake || die
+
+       #Uncomment the 'make check ...' line if you want to run the test suite.
+       #Note that the check.log file will be several megabytes in size.
+       #make check > ${WORKDIR}/check.log 2>&1 || die
+
+}
+
+src_install () {
+
+       einstall || die
+       dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS TODO THANKS
+
+}
diff --git a/sci-libs/gsl/gsl-1.4.ebuild b/sci-libs/gsl/gsl-1.4.ebuild
new file mode 100644 (file)
index 0000000..968a9d5
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.4.ebuild,v 1.1 2004/12/28 20:27:30 ribosome Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="http://sources.redhat.com/gsl/"
+SRC_URI="http://mirrors.rcn.net/pub/sourceware/gsl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~ppc64"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_compile() {
+       replace-cpu-flags k6 k6-2 k6-3 i586
+       filter-flags -ffast-math
+       filter-mfpmath sse
+
+       econf --disable-libtool-lock || die
+       emake || die
+}
+
+src_test() {
+       make check || die
+}
+
+src_install() {
+       einstall || die
+       dodoc AUTHORS BUGS ChangeLog INSTALL NEWS TODO THANKS
+}
diff --git a/sci-libs/gsl/metadata.xml b/sci-libs/gsl/metadata.xml
new file mode 100644 (file)
index 0000000..b229aec
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>