aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/octave')
-rw-r--r--sci-mathematics/octave/ChangeLog268
-rw-r--r--sci-mathematics/octave/Manifest13
-rw-r--r--sci-mathematics/octave/files/digest-octave-2.1.57-r11
-rw-r--r--sci-mathematics/octave/files/digest-octave-2.1.691
-rw-r--r--sci-mathematics/octave/files/digest-octave-2.1.711
-rw-r--r--sci-mathematics/octave/files/digest-octave-2.1.71-r11
-rw-r--r--sci-mathematics/octave/files/digest-octave-2.1.71-r21
-rw-r--r--sci-mathematics/octave/files/digest-octave-2.1.721
-rw-r--r--sci-mathematics/octave/metadata.xml5
-rw-r--r--sci-mathematics/octave/octave-2.1.57-r1.ebuild122
-rw-r--r--sci-mathematics/octave/octave-2.1.69.ebuild119
-rw-r--r--sci-mathematics/octave/octave-2.1.71-r1.ebuild106
-rw-r--r--sci-mathematics/octave/octave-2.1.71.ebuild113
-rw-r--r--sci-mathematics/octave/octave-2.1.72.ebuild122
14 files changed, 874 insertions, 0 deletions
diff --git a/sci-mathematics/octave/ChangeLog b/sci-mathematics/octave/ChangeLog
new file mode 100644
index 000000000..a0f82873e
--- /dev/null
+++ b/sci-mathematics/octave/ChangeLog
@@ -0,0 +1,268 @@
+# ChangeLog for sci-mathematics/octave
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.24 2006/01/30 10:06:57 robbat2 Exp $
+
+*octave-2.1.72 (31 Jan 2006)
+
+ 31 Jan 2006; Lucas Chiesa <lucas.chiesa@gmail.com> octave-2.1.72.ebuild:
+ Version bump. Thanks Sebastian Schubert <sebastian-schubert@gmx.de>.
+ Bug #120976.
+
+ 30 Jan 2006; Robin H. Johnson <robbat2@gentoo.org> Manifest:
+ Manifest fix.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> octave-2.1.71-r2.ebuild:
+ Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> octave-2.1.71-r1.ebuild:
+ Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> octave-2.1.57-r1.ebuild:
+ Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> octave-2.1.71.ebuild:
+ Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> octave-2.1.69.ebuild:
+ Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot.
+
+ 16 Nov 2005; Ferris McCormick <fmccor@gentoo.org> octave-2.1.71-r2.ebuild:
+ (Re)add ~sparc keyword after having changed sparc's default virtual for
+ mpi to lam-mpi. With this change, octave builds on sparc with USE=mpi,
+ and it runs the mini-test suggested by the ebuild installation. This
+ closes Bug #108955 for sparc.
+
+*octave-2.1.71-r2 (16 Nov 2005)
+
+ 16 Nov 2005; Markus Dittrich <markusle@gentoo.org>
+ +octave-2.1.71-r2.ebuild:
+ Implemented proper compilation when using MPI. This fixes bug #108955.
+
+*octave-2.1.71-r1 (13 Nov 2005)
+
+ 13 Nov 2005; Olivier Fisette <ribosome@gentoo.org>
+ +octave-2.1.71-r1.ebuild:
+ Migrated to fortran.eclass (bug #65950).
+
+ 22 Oct 2005; Marcus D. Hanwell <cryos@gentoo.org> octave-2.1.71.ebuild:
+ Allow the use of gfortran too for gcc4, closes bug 108781.
+
+ 17 Sep 2005; Aron Griffis <agriffis@gentoo.org> octave-2.1.69.ebuild:
+ Mark 2.1.69 stable on alpha
+
+ 06 Sep 2005; Danny van Dyk <kugelfang@gentoo.org> octave-2.1.69.ebuild:
+ Fixed USE=mpi handling.
+
+*octave-2.1.71 (21 Aug 2005)
+
+ 21 Aug 2005; Olivier Fisette <ribosome@gentoo.org> octave-2.1.69.ebuild,
+ +octave-2.1.71.ebuild:
+ New version (fixes bug #99481), along with a sed trick to remove Portage
+ paths in ls-R files (fixes bug #92565). Thanks to Colin Macdonald
+ <cbm@sfu.ca>.
+
+ 14 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> octave-2.1.69.ebuild:
+ Stable on ppc.
+
+ 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> octave-2.1.69.ebuild:
+ Stable x86 and amd64.
+
+ 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -files/filebuf.diff,
+ -files/kill-dvips.diff, -octave-2.1.64.ebuild:
+ Removed obsolete version and unused patches.
+
+ 10 Jun 2005; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.57-r1.ebuild,
+ octave-2.1.64.ebuild, octave-2.1.69.ebuild:
+ Adding library directory to LDPATH
+
+ 04 Jun 2005; Olivier Fisette <ribosome@gentoo.org>
+ octave-2.1.57-r1.ebuild, octave-2.1.64.ebuild, octave-2.1.69.ebuild:
+ Added warning about agressive CFLAGS. (See bug #76067.)
+
+ 04 Jun 2005; Olivier Fisette <ribosome@gentoo.org>
+ -octave-2.1.36-r1.ebuild, -octave-2.1.50.ebuild, -octave-2.1.57.ebuild:
+ Removed obsolete versions. Fixed header.
+
+*octave-2.1.69 (21 Apr 2005)
+
+ 21 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org> +octave-2.1.69.ebuild:
+ Version bump, closes bug 89397.
+
+ 18 Apr 2005; Joseph Jezak <josejx@gentoo.org> octave-2.1.57-r1.ebuild:
+ Marked ppc stable.
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+*octave-2.1.64 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/filebuf.diff, +files/kill-dvips.diff, +octave-2.1.36-r1.ebuild,
+ +octave-2.1.50.ebuild, +octave-2.1.57-r1.ebuild, +octave-2.1.57.ebuild,
+ +octave-2.1.64.ebuild:
+ Moved from app-sci/octave to sci-mathematics/octave.
+
+ 19 Dec 2004; Bryan Østergaard <kloeri@gentoo.org>
+ octave-2.1.57-r1.ebuild:
+ Stable on alpha.
+
+ 15 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.64.ebuild:
+ Latest version does not like texi2html-1.70 (bug #74307)
+
+*octave-2.1.64 (07 Dec 2004)
+
+ 07 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> +octave-2.1.64.ebuild:
+ Version bump
+
+ 30 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.50.ebuild:
+ Adding fortran compiler check from newest version to .50 because of bug #66193.
+
+ 04 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.57-r1.ebuild:
+ Adding proper quotes to LDFLAGS, fixing bug #66111
+
+ 01 Oct 2004; Danny van Dyk <kugelfang@gentoo.org> octave-2.1.57-r1.ebuild:
+ Switched on blas use-flag as all arches have at least blas-atlas in testing
+ now.
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ octave-2.1.36-r1.ebuild, octave-2.1.50.ebuild, octave-2.1.57-r1.ebuild,
+ octave-2.1.57.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 15 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ octave-2.1.36-r1.ebuild, octave-2.1.50.ebuild, octave-2.1.57.ebuild:
+ PROVIDE is for virtuals
+
+ 06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> octave-2.1.57-r1.ebuild:
+ Marked stable on amd64.
+
+ 27 May 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.57-r1.ebuild:
+ Fixed typo about g77/f77 USE flag, bug #51858
+
+ 15 May 2004; Danny van Dyk <kugelfang@gentoo.org> octave-2.1.57-r1.ebuild:
+ Now checking on both g77 and ifc Fortran compilers. Moved check routine to
+ pkg_setup.
+
+ 12 May 2004; Danny van Dyk <kugelfang@gentoo.org> octave-2.1.57-r1.ebuild:
+ The ebuild checks now if g77 has been compiled. If not, a warning is shown.
+ However, the compilation process proceeds, in case that a different compiler
+ than g77 shall be used. Fixes BUG #50777.
+
+*octave-2.1.57-r1 (10 May 2004)
+
+ 10 May 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.57-r1.ebuild:
+ Installs emacs related files if emacs is in USE now
+
+ 09 May 2004; Danny van Dyk <kugelfang@gentoo.org> octave-2.1.57.ebuild:
+ Added local useflag "blas" to make ebuild depend on virtual/blas.
+
+ 05 May 2004; Bryan Østergaard <kloeri@gentoo.org> octave-2.1.57.ebuild:
+ Stable on alpha.
+
+ 21 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.36-r1.ebuild:
+ replaced another patch by epatch
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.0.17-r2.ebuild,
+ octave-2.1.49.ebuild, octave-2.1.50.ebuild:
+ Cleanup, added IUSE.
+
+ 30 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.57.ebuild:
+ Adding one of the mirrors to SRC_URI
+
+*octave-2.1.57 (23 Mar 2004)
+
+ 23 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> octave-2.1.57.ebuild:
+ Version bump.
+
+*octave-2.1.50 (07 Jan 2003)
+
+ 07 Jan 2003; George Shapovalov <george@gentoo.org> octave-2.1.50.ebuild :
+ new version
+ now supports hdf5 for real. Also added mpi use flag.
+
+ 31 Dec 2003; Mamoru KOMACHI <usata@gentoo.org> octave-2.0.17-r2.ebuild,
+ octave-2.1.36-r1.ebuild, octave-2.1.49.ebuild:
+ Changed app-text/tetex to virtual/tetex
+
+ 16 Sep 2003; Seemant Kulleen <seemant@gentoo.org> octave-2.0.17-r2.ebuild,
+ octave-2.1.36-r1.ebuild, octave-2.1.49.ebuild:
+ filter out -ffast-math, as it causes segfaults. Thanks to: Jani Kotakoski
+ <jkkoski@iki.fi> in bug #28809
+
+ 28 Aug 2003; Jason Wever <weeve@gentoo.org> octave-2.1.49.ebuild:
+ Added ~sparc to keywords to fix bug 27486.
+
+*octave-2.1.49 (09 Jun 2003)
+ 09 Jun 2003; George Shapovalov <george@gentoo.org> octave-2.1.49.ebuild :
+ new version,
+ ebuild now uses additional "static readline hdf5 zlib" use flags, hdf5 is local for now.
+ Also the patch and PROVIDE are no longer necessary.
+ Thanks to Shaun Cloherty <s.cloherty@gsbme.unsw.edu.au> for submission
+
+ 29 Mar 2003; George Shapovalov <george@gentoo.org> octave-2.0.17-r2.ebuild :
+ some clean-ups:
+ removed virtual/glibc from DEPEND, as it is quite populated anyway,
+ removed PROVIDE, as nothing depends on octave and its been quite some time since it was moved from dev-lang
+ Also corrected default-1.0/packages profile entry, to pick up latest release in 2.0* series.
+
+ 23 Feb 2003; George Shapovalov <george@gentoo.org> octave-2.0.17-r2.ebuild :
+ looks like tetex is not an optional but required dependency for 2.0.17,
+ added app-text/tetex to DEPEND (#7277)
+
+ 02 Feb 2003; George Shapovalov <george@gentoo.org> octave-2.1.40.ebuild, octave-2.1.36-r1.ebuild :
+
+ fixed tetex optional dependency typo. Thanks to Daniel Karlsson <d.k@home.se> (#14685) for reporting this.
+
+*octave-2.1.40 (13 Dec 2002)
+
+ 10 Feb 2003; Peter Johanson <latexer@gentoo.org> octave-2.1.40.ebuild :
+ Added ~alpha to KEYWORDS.
+
+ 13 Dec 2002; George Shapovalov <george@gentoo.org> octave-2.1.40.ebuild, files/digest-octave-2.1.40 :
+ new version
+
+*octave-2.0.17-r2 (09 Apr 2003)
+
+ 02 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*octave-2.0.17-r1 (13 Jul 2002)
+
+ 25 Oct 2002; George Shapovalov <george@gentoo.org> octave-2.0.17-r1.ebuild, files/digest-octave-2.0.17-r1 :
+ fix for sandbox violation
+
+*octave-2.1.36-r1 (01 Oct 02)
+
+ 01 Oct 2002; Matthew Turk <satai@gentoo.org> :
+ Closing bug 8486 by ripping out all references to dvips. DVIPS generates
+ fonts on the fly, which causes massive sandbox failures. Instead, we leave
+ docs in DVI format if USE=tetex, which are then installed uncompressed into
+ /usr/share/doc/octave-2.1.36-r1 .
+
+*octave-2.1.36 (15 Jul 2002)
+
+ 19 Sep 2002; Owen Stampflee <owen@gentoo.org> :
+ Added PPC to KEYWORDS.
+
+ 15 Jul 2002; Nick Hadaway <raker@gentoo.org>
+ octave-2.1.36.ebuild, files/digest-octave-2.1.36, files/filebuf.diff :
+ Updated to latest "unstable" version. Included a patch to compile
+ properly with gcc-3.x. After fixing the problem I found RedHat's
+ patch posted to the bug report. And theirs was cleaner than mine.
+ Closes bug #4933
+
+*octave-2.0.17 (13 Jul 2002)
+
+ 03 Sep 2002; Nick Hadaway <raker@gentoo.org> octave-2.0.17.ebuild :
+ Changed to econf. Changed from emake to make to alleviate build
+ problems.
+
+ 13 Jul 2002; Nick Hadaway <raker@gentoo.org> octave-2.0.17.ebuild :
+ Updated to latest stable version. The "unstable" version is on it's way.
+
+*octave-2.0.16 (19 Feb 2002)
+
+ 19 Feb 2002; T.Neidt <tod@gentoo.org> ChangeLog, octave-2.0.16.ebuild :
+ Initial commit. GNU Octave is a high-level language, primarily intended
+ for numerical computations. It is mostly compatible with Matlab.
+
diff --git a/sci-mathematics/octave/Manifest b/sci-mathematics/octave/Manifest
new file mode 100644
index 000000000..9c54fdee5
--- /dev/null
+++ b/sci-mathematics/octave/Manifest
@@ -0,0 +1,13 @@
+MD5 ddec2640db87a028c7f79f0deea6b2ec ChangeLog 10537
+MD5 32c6cee1f5b42b8b20369c3722fb4db2 files/digest-octave-2.1.57-r1 67
+MD5 67d13a7bca35d1d0210394b7735fd073 files/digest-octave-2.1.69 67
+MD5 6582a298022b4c4301eca44791cb6da2 files/digest-octave-2.1.71 67
+MD5 6582a298022b4c4301eca44791cb6da2 files/digest-octave-2.1.71-r1 67
+MD5 6582a298022b4c4301eca44791cb6da2 files/digest-octave-2.1.71-r2 67
+MD5 e63335a4907b66890e2afbffe2edce3d files/digest-octave-2.1.72 67
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 8cd2802495f5b60bd5caebf50010d776 octave-2.1.57-r1.ebuild 3673
+MD5 ac40b9f81059c8a7e9a563490ab617e8 octave-2.1.69.ebuild 3638
+MD5 650b9c16600e7e97b90ae197cd4632e8 octave-2.1.71-r1.ebuild 3431
+MD5 71bd2a0f999ed981dd71c8bc2f6cd1f6 octave-2.1.71.ebuild 3554
+MD5 8f6f761449c011cbabbc42c942d72e9a octave-2.1.72.ebuild 3780
diff --git a/sci-mathematics/octave/files/digest-octave-2.1.57-r1 b/sci-mathematics/octave/files/digest-octave-2.1.57-r1
new file mode 100644
index 000000000..083d5364f
--- /dev/null
+++ b/sci-mathematics/octave/files/digest-octave-2.1.57-r1
@@ -0,0 +1 @@
+MD5 b781f5d0cd750cb9bb3ef23523f5f339 octave-2.1.57.tar.bz2 4202080
diff --git a/sci-mathematics/octave/files/digest-octave-2.1.69 b/sci-mathematics/octave/files/digest-octave-2.1.69
new file mode 100644
index 000000000..f83124841
--- /dev/null
+++ b/sci-mathematics/octave/files/digest-octave-2.1.69
@@ -0,0 +1 @@
+MD5 32d598e5c148d2319e3ba66834ea096d octave-2.1.69.tar.bz2 5818959
diff --git a/sci-mathematics/octave/files/digest-octave-2.1.71 b/sci-mathematics/octave/files/digest-octave-2.1.71
new file mode 100644
index 000000000..c5707c297
--- /dev/null
+++ b/sci-mathematics/octave/files/digest-octave-2.1.71
@@ -0,0 +1 @@
+MD5 2ab06912017c833549035111f0ab592f octave-2.1.71.tar.bz2 5784751
diff --git a/sci-mathematics/octave/files/digest-octave-2.1.71-r1 b/sci-mathematics/octave/files/digest-octave-2.1.71-r1
new file mode 100644
index 000000000..c5707c297
--- /dev/null
+++ b/sci-mathematics/octave/files/digest-octave-2.1.71-r1
@@ -0,0 +1 @@
+MD5 2ab06912017c833549035111f0ab592f octave-2.1.71.tar.bz2 5784751
diff --git a/sci-mathematics/octave/files/digest-octave-2.1.71-r2 b/sci-mathematics/octave/files/digest-octave-2.1.71-r2
new file mode 100644
index 000000000..c5707c297
--- /dev/null
+++ b/sci-mathematics/octave/files/digest-octave-2.1.71-r2
@@ -0,0 +1 @@
+MD5 2ab06912017c833549035111f0ab592f octave-2.1.71.tar.bz2 5784751
diff --git a/sci-mathematics/octave/files/digest-octave-2.1.72 b/sci-mathematics/octave/files/digest-octave-2.1.72
new file mode 100644
index 000000000..5cbb4d4e0
--- /dev/null
+++ b/sci-mathematics/octave/files/digest-octave-2.1.72
@@ -0,0 +1 @@
+MD5 47012ee5efee3a36d04fea3341748862 octave-2.1.72.tar.bz2 5808544
diff --git a/sci-mathematics/octave/metadata.xml b/sci-mathematics/octave/metadata.xml
new file mode 100644
index 000000000..b229aec85
--- /dev/null
+++ b/sci-mathematics/octave/metadata.xml
@@ -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>
diff --git a/sci-mathematics/octave/octave-2.1.57-r1.ebuild b/sci-mathematics/octave/octave-2.1.57-r1.ebuild
new file mode 100644
index 000000000..1c15c23d2
--- /dev/null
+++ b/sci-mathematics/octave/octave-2.1.57-r1.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.57-r1.ebuild,v 1.8 2006/01/29 19:40:31 cryos Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations"
+HOMEPAGE="http://www.octave.org/"
+SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2
+ ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc alpha ~sparc amd64"
+IUSE="emacs static readline zlib tetex hdf5 mpi ifc blas"
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.2-r3
+ >=sci-visualization/gnuplot-3.7.1-r3
+ >=sci-libs/fftw-2.1.3
+ >=dev-util/gperf-2.7.2
+ zlib? ( sys-libs/zlib )
+ hdf5? ( sci-libs/hdf5 )
+ tetex? ( virtual/tetex )
+ x86? ( ifc? ( dev-lang/ifc ) )
+ blas? ( virtual/blas )"
+
+# NOTE: octave supports blas/lapack from intel but this is not open
+# source nor is it free (as in beer OR speech) Check out...
+# http://developer.intel.com/software/products/mkl/mkl52/index.htm for
+# more information
+
+pkg_setup() {
+ use ifc || if [ -z `which g77` ]; then
+ #if ifc is defined then the dep was already checked
+ eerror "No fortran compiler found on the system!"
+ eerror "Please add fortran to your USE flags and reemerge gcc!"
+ die
+ fi
+}
+
+src_compile() {
+ filter-flags -ffast-math
+
+ local myconf
+
+ use static || myconf="--disable-static --enable-shared --enable-dl"
+ use readline || myconf="${myconf} --disable-readline"
+ use hdf5 || myconf="${myconf} --without-hdf5"
+ use mpi || myconf="${myconf} --without-mpi"
+
+ # Only add -lz to LDFLAGS if we have zlib in USE !
+ # BUG #52604
+ # Danny van Dyk 2004/08/26
+ use zlib && LDFLAGS="${LDFLAGS} -lz"
+
+ # NOTE: This version actually works with gcc-3.x
+ ./configure ${myconf} --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/state/octave \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ --build=${CHOST} \
+ --target=${CHOST} \
+ --enable-rpath \
+ --enable-lite-kernel \
+ LDFLAGS="${LDFLAGS}" || die "configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die "make install failed"
+ use tetex && octave-install-doc
+ if use emacs; then
+ cd emacs
+ exeinto /usr/bin
+ doexe otags
+ doman otags.1
+ for emacsdir in /usr/share/emacs/site-lisp /usr/lib/xemacs/site-lisp; do
+ insinto ${emacsdir}
+ doins *.el
+ done
+ cd ..
+ fi
+ dodir /etc/env.d
+ echo "LDPATH=/usr/lib/octave-${PV}" > ${D}/etc/env.d/99octave
+}
+
+pkg_postinst() {
+ echo
+ einfo "Some users have reported failures at running simple tests if"
+ einfo "octave was built with agressive optimisations. You can check if"
+ einfo "your setup is affected by this bug by running the following test"
+ einfo "(inside the octave interpreter):"
+ einfo
+ einfo "octave:1> y = [1 3 4 2 1 5 3 5 6 7 4 5 7 10 11 3];"
+ einfo "octave:2> g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3];"
+ einfo "octave:3> anova(y, g)"
+ einfo
+ einfo "If these commands complete successfully with no error message,"
+ einfo "your installation should be ok. Otherwise, try recompiling"
+ einfo "octave using less agressive \"CFLAGS\" (combining \"-O3\" and"
+ einfo "\"-march=pentium4\" is known to cause problems)."
+ echo
+}
+
+octave-install-doc() {
+ echo "Installing documentation..."
+ insinto /usr/share/doc/${PF}
+ doins doc/faq/Octave-FAQ.dvi
+ doins doc/interpreter/octave.dvi
+ doins doc/liboctave/liboctave.dvi
+ doins doc/refcard/refcard-a4.dvi
+ doins doc/refcard/refcard-legal.dvi
+ doins doc/refcard/refcard-letter.dvi
+}
diff --git a/sci-mathematics/octave/octave-2.1.69.ebuild b/sci-mathematics/octave/octave-2.1.69.ebuild
new file mode 100644
index 000000000..7bf3e63c0
--- /dev/null
+++ b/sci-mathematics/octave/octave-2.1.69.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.69.ebuild,v 1.9 2006/01/29 19:39:33 cryos Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations"
+HOMEPAGE="http://www.octave.org/"
+SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2
+ ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ~sparc x86"
+IUSE="emacs static readline zlib tetex hdf5 mpi ifc blas"
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.2-r3
+ >=sci-visualization/gnuplot-3.7.1-r3
+ >=sci-libs/fftw-2.1.3
+ >=dev-util/gperf-2.7.2
+ zlib? ( sys-libs/zlib )
+ hdf5? ( sci-libs/hdf5 )
+ tetex? ( virtual/tetex )
+ x86? ( ifc? ( dev-lang/ifc ) )
+ blas? ( virtual/blas )
+ mpi? ( sys-cluster/lam-mpi )
+ !=app-text/texi2html-1.70"
+
+# NOTE: octave supports blas/lapack from intel but this is not open
+# source nor is it free (as in beer OR speech) Check out...
+# http://developer.intel.com/software/products/mkl/mkl52/index.htm for
+# more information
+
+pkg_setup() {
+ use ifc || if [ -z `which g77` ]; then
+ #if ifc is defined then the dep was already checked
+ eerror "No fortran compiler found on the system!"
+ eerror "Please add fortran to your USE flags and reemerge gcc!"
+ die
+ fi
+}
+
+src_compile() {
+ filter-flags -ffast-math
+
+ local myconf="--localstatedir=/var/state/octave --enable-rpath"
+ myconf="${myconf} --enable-lite-kernel"
+ use static || myconf="${myconf} --disable-static --enable-shared --enable-dl"
+ # Only add -lz to LDFLAGS if we have zlib in USE !
+ # BUG #52604
+ # Danny van Dyk 2004/08/26
+ use zlib && LDFLAGS="${LDFLAGS} -lz"
+
+ if use mpi; then
+ myconf="${myconf} --with-mpi=lammpi++"
+ else
+ myconf="${myconf} --without-mpi"
+ fi
+
+ econf \
+ $(use_with hdf5) \
+ $(use_enable readline) \
+ ${myconf} \
+ LDFLAGS="${LDFLAGS}" || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ use tetex && octave-install-doc
+ if use emacs; then
+ cd emacs
+ exeinto /usr/bin
+ doexe otags
+ doman otags.1
+ for emacsdir in /usr/share/emacs/site-lisp /usr/lib/xemacs/site-lisp; do
+ insinto ${emacsdir}
+ doins *.el
+ done
+ cd ..
+ fi
+ dodir /etc/env.d
+ echo "LDPATH=/usr/lib/octave-${PV}" > ${D}/etc/env.d/99octave
+
+ # Fixes ls-R files to remove /var/tmp/portage references.
+ sed -i -e "s:${D}::g" ${D}/usr/libexec/${PN}/ls-R || die
+ sed -i -e "s:${D}::g" ${D}/usr/share/${PN}/ls-R || die
+}
+
+pkg_postinst() {
+ echo
+ einfo "Some users have reported failures at running simple tests if"
+ einfo "octave was built with agressive optimisations. You can check if"
+ einfo "your setup is affected by this bug by running the following test"
+ einfo "(inside the octave interpreter):"
+ einfo
+ einfo "octave:1> y = [1 3 4 2 1 5 3 5 6 7 4 5 7 10 11 3];"
+ einfo "octave:2> g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3];"
+ einfo "octave:3> anova(y, g)"
+ einfo
+ einfo "If these commands complete successfully with no error message,"
+ einfo "your installation should be ok. Otherwise, try recompiling"
+ einfo "octave using less agressive \"CFLAGS\" (combining \"-O3\" and"
+ einfo "\"-march=pentium4\" is known to cause problems)."
+ echo
+}
+
+octave-install-doc() {
+ echo "Installing documentation..."
+ insinto /usr/share/doc/${PF}
+ doins doc/faq/Octave-FAQ.dvi
+ doins doc/interpreter/octave.dvi
+ doins doc/liboctave/liboctave.dvi
+ doins doc/refcard/refcard-a4.dvi
+ doins doc/refcard/refcard-legal.dvi
+ doins doc/refcard/refcard-letter.dvi
+}
diff --git a/sci-mathematics/octave/octave-2.1.71-r1.ebuild b/sci-mathematics/octave/octave-2.1.71-r1.ebuild
new file mode 100644
index 000000000..76e5d5cd6
--- /dev/null
+++ b/sci-mathematics/octave/octave-2.1.71-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.71-r1.ebuild,v 1.2 2006/01/29 19:41:01 cryos Exp $
+
+inherit flag-o-matic fortran
+
+DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations"
+LICENSE="GPL-2"
+HOMEPAGE="http://www.octave.org/"
+SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2
+ ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/${P}.tar.bz2"
+
+SLOT="0"
+IUSE="emacs static readline zlib tetex hdf5 mpi ifc blas"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.2-r3
+ >=sci-visualization/gnuplot-3.7.1-r3
+ >=sci-libs/fftw-2.1.3
+ >=dev-util/gperf-2.7.2
+ zlib? ( sys-libs/zlib )
+ hdf5? ( sci-libs/hdf5 )
+ tetex? ( virtual/tetex )
+ x86? ( ifc? ( dev-lang/ifc ) )
+ blas? ( virtual/blas )
+ !=app-text/texi2html-1.70"
+
+# NOTE: octave supports blas/lapack from intel but this is not open
+# source nor is it free (as in beer OR speech) Check out...
+# http://developer.intel.com/software/products/mkl/mkl52/index.htm for
+# more information
+
+src_compile() {
+ filter-flags -ffast-math
+
+ local myconf="--localstatedir=/var/state/octave --enable-rpath"
+ myconf="${myconf} --enable-lite-kernel"
+ use static || myconf="${myconf} --disable-static --enable-shared --enable-dl"
+ # Only add -lz to LDFLAGS if we have zlib in USE !
+ # BUG #52604
+ # Danny van Dyk 2004/08/26
+ use zlib && LDFLAGS="${LDFLAGS} -lz"
+
+ econf \
+ $(use_with hdf5) \
+ $(use_with mpi) \
+ $(use_enable readline) \
+ ${myconf} \
+ LDFLAGS="${LDFLAGS}" || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ if use tetex; then
+ octave-install-doc || die "Octave doc install failed"
+ fi
+ if use emacs; then
+ cd emacs
+ exeinto /usr/bin
+ doexe otags || die
+ doman otags.1 || die
+ for emacsdir in /usr/share/emacs/site-lisp /usr/lib/xemacs/site-lisp; do
+ insinto ${emacsdir}
+ doins *.el || die
+ done
+ cd ..
+ fi
+ dodir /etc/env.d || die
+ echo "LDPATH=/usr/lib/octave-${PV}" > "${D}"/etc/env.d/99octave || die
+
+ # Fixes ls-R files to remove /var/tmp/portage references.
+ sed -i -e "s:${D}::g" "${D}"/usr/libexec/${PN}/ls-R || die
+ sed -i -e "s:${D}::g" "${D}"/usr/share/${PN}/ls-R || die
+}
+
+pkg_postinst() {
+ echo
+ einfo "Some users have reported failures at running simple tests if"
+ einfo "octave was built with agressive optimisations. You can check if"
+ einfo "your setup is affected by this bug by running the following test"
+ einfo "(inside the octave interpreter):"
+ einfo
+ einfo "octave:1> y = [1 3 4 2 1 5 3 5 6 7 4 5 7 10 11 3];"
+ einfo "octave:2> g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3];"
+ einfo "octave:3> anova(y, g)"
+ einfo
+ einfo "If these commands complete successfully with no error message,"
+ einfo "your installation should be ok. Otherwise, try recompiling"
+ einfo "octave using less agressive \"CFLAGS\" (combining \"-O3\" and"
+ einfo "\"-march=pentium4\" is known to cause problems)."
+ echo
+}
+
+octave-install-doc() {
+ echo "Installing documentation..."
+ insinto /usr/share/doc/${PF}
+ doins doc/faq/Octave-FAQ.dvi || die
+ doins doc/interpreter/octave.dvi || die
+ doins doc/liboctave/liboctave.dvi || die
+ doins doc/refcard/refcard-a4.dvi || die
+ doins doc/refcard/refcard-legal.dvi || die
+ doins doc/refcard/refcard-letter.dvi || die
+}
diff --git a/sci-mathematics/octave/octave-2.1.71.ebuild b/sci-mathematics/octave/octave-2.1.71.ebuild
new file mode 100644
index 000000000..2c8cc94ea
--- /dev/null
+++ b/sci-mathematics/octave/octave-2.1.71.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.71.ebuild,v 1.3 2006/01/29 19:40:02 cryos Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations"
+HOMEPAGE="http://www.octave.org/"
+SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2
+ ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="emacs static readline zlib tetex hdf5 mpi ifc blas"
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.2-r3
+ >=sci-visualization/gnuplot-3.7.1-r3
+ >=sci-libs/fftw-2.1.3
+ >=dev-util/gperf-2.7.2
+ zlib? ( sys-libs/zlib )
+ hdf5? ( sci-libs/hdf5 )
+ tetex? ( virtual/tetex )
+ x86? ( ifc? ( dev-lang/ifc ) )
+ blas? ( virtual/blas )
+ !=app-text/texi2html-1.70"
+
+# NOTE: octave supports blas/lapack from intel but this is not open
+# source nor is it free (as in beer OR speech) Check out...
+# http://developer.intel.com/software/products/mkl/mkl52/index.htm for
+# more information
+
+pkg_setup() {
+ use ifc || if [ -z `which g77` ] && [ -z `which gfortran` ]; then
+ #if ifc is defined then the dep was already checked
+ eerror "No fortran compiler found on the system!"
+ eerror "Please add fortran to your USE flags and reemerge gcc!"
+ die
+ fi
+}
+
+src_compile() {
+ filter-flags -ffast-math
+
+ local myconf="--localstatedir=/var/state/octave --enable-rpath"
+ myconf="${myconf} --enable-lite-kernel"
+ use static || myconf="${myconf} --disable-static --enable-shared --enable-dl"
+ # Only add -lz to LDFLAGS if we have zlib in USE !
+ # BUG #52604
+ # Danny van Dyk 2004/08/26
+ use zlib && LDFLAGS="${LDFLAGS} -lz"
+
+ econf \
+ $(use_with hdf5) \
+ $(use_with mpi) \
+ $(use_enable readline) \
+ ${myconf} \
+ LDFLAGS="${LDFLAGS}" || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ use tetex && octave-install-doc
+ if use emacs; then
+ cd emacs
+ exeinto /usr/bin
+ doexe otags
+ doman otags.1
+ for emacsdir in /usr/share/emacs/site-lisp /usr/lib/xemacs/site-lisp; do
+ insinto ${emacsdir}
+ doins *.el
+ done
+ cd ..
+ fi
+ dodir /etc/env.d
+ echo "LDPATH=/usr/lib/octave-${PV}" > ${D}/etc/env.d/99octave
+
+ # Fixes ls-R files to remove /var/tmp/portage references.
+ sed -i -e "s:${D}::g" ${D}/usr/libexec/${PN}/ls-R || die
+ sed -i -e "s:${D}::g" ${D}/usr/share/${PN}/ls-R || die
+}
+
+pkg_postinst() {
+ echo
+ einfo "Some users have reported failures at running simple tests if"
+ einfo "octave was built with agressive optimisations. You can check if"
+ einfo "your setup is affected by this bug by running the following test"
+ einfo "(inside the octave interpreter):"
+ einfo
+ einfo "octave:1> y = [1 3 4 2 1 5 3 5 6 7 4 5 7 10 11 3];"
+ einfo "octave:2> g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3];"
+ einfo "octave:3> anova(y, g)"
+ einfo
+ einfo "If these commands complete successfully with no error message,"
+ einfo "your installation should be ok. Otherwise, try recompiling"
+ einfo "octave using less agressive \"CFLAGS\" (combining \"-O3\" and"
+ einfo "\"-march=pentium4\" is known to cause problems)."
+ echo
+}
+
+octave-install-doc() {
+ echo "Installing documentation..."
+ insinto /usr/share/doc/${PF}
+ doins doc/faq/Octave-FAQ.dvi
+ doins doc/interpreter/octave.dvi
+ doins doc/liboctave/liboctave.dvi
+ doins doc/refcard/refcard-a4.dvi
+ doins doc/refcard/refcard-legal.dvi
+ doins doc/refcard/refcard-letter.dvi
+}
diff --git a/sci-mathematics/octave/octave-2.1.72.ebuild b/sci-mathematics/octave/octave-2.1.72.ebuild
new file mode 100644
index 000000000..69e0099f9
--- /dev/null
+++ b/sci-mathematics/octave/octave-2.1.72.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.71-r2.ebuild,v 1.3 2006/01/29 19:41:30 cryos Exp $
+
+inherit flag-o-matic fortran
+
+DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations"
+LICENSE="GPL-2"
+HOMEPAGE="http://www.octave.org/"
+SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2
+ ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/${P}.tar.bz2"
+
+SLOT="0"
+IUSE="emacs static readline zlib tetex hdf5 mpi blas"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.2-r3
+ >=sci-visualization/gnuplot-3.7.1-r3
+ >=sci-libs/fftw-2.1.3
+ >=dev-util/gperf-2.7.2
+ zlib? ( sys-libs/zlib )
+ hdf5? ( sci-libs/hdf5 )
+ tetex? ( virtual/tetex )
+ blas? ( virtual/blas )
+ mpi? ( virtual/mpi )
+ !=app-text/texi2html-1.70"
+
+# NOTE: octave supports blas/lapack from intel but this is not open
+# source nor is it free (as in beer OR speech) Check out...
+# http://developer.intel.com/software/products/mkl/mkl52/index.htm for
+# more information
+
+src_compile() {
+ filter-flags -ffast-math
+
+ local myconf="--localstatedir=/var/state/octave --enable-rpath"
+ myconf="${myconf} --enable-lite-kernel"
+ use static || myconf="${myconf} --disable-static --enable-shared --enable-dl"
+ # Only add -lz to LDFLAGS if we have zlib in USE !
+ # BUG #52604
+ # Danny van Dyk 2004/08/26
+ use zlib && LDFLAGS="${LDFLAGS} -lz"
+
+ # MPI requires the use of gcc/g++ wrappers
+ # mpicc/mpic++
+ # octave links agains -lmpi by default
+ # mpich needs -lmpich instead
+ if use mpi; then
+ CC="mpicc" && CXX="mpiCC"
+ if has_version 'sys-cluster/mpich'; then
+ myconf="${myconf} --with-mpi=mpich"
+ else
+ myconf="${myconf} --with-mpi=mpi"
+ fi
+ else
+ myconf="${myconf} --without-mpi"
+ fi
+
+
+ econf \
+ $(use_with hdf5) \
+ $(use_enable readline) \
+ ${myconf} \
+ LDFLAGS="${LDFLAGS}" \
+ CC="${CC}" CXX="${CXX}" || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ if use tetex; then
+ octave-install-doc || die "Octave doc install failed"
+ fi
+ if use emacs; then
+ cd emacs
+ exeinto /usr/bin
+ doexe otags || die
+ doman otags.1 || die
+ for emacsdir in /usr/share/emacs/site-lisp /usr/lib/xemacs/site-lisp; do
+ insinto ${emacsdir}
+ doins *.el || die
+ done
+ cd ..
+ fi
+ dodir /etc/env.d || die
+ echo "LDPATH=/usr/lib/octave-${PV}" > "${D}"/etc/env.d/99octave || die
+
+ # Fixes ls-R files to remove /var/tmp/portage references.
+ sed -i -e "s:${D}::g" "${D}"/usr/libexec/${PN}/ls-R || die
+ sed -i -e "s:${D}::g" "${D}"/usr/share/${PN}/ls-R || die
+}
+
+pkg_postinst() {
+ echo
+ einfo "Some users have reported failures at running simple tests if"
+ einfo "octave was built with agressive optimisations. You can check if"
+ einfo "your setup is affected by this bug by running the following test"
+ einfo "(inside the octave interpreter):"
+ einfo
+ einfo "octave:1> y = [1 3 4 2 1 5 3 5 6 7 4 5 7 10 11 3];"
+ einfo "octave:2> g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3];"
+ einfo "octave:3> anova(y, g)"
+ einfo
+ einfo "If these commands complete successfully with no error message,"
+ einfo "your installation should be ok. Otherwise, try recompiling"
+ einfo "octave using less agressive \"CFLAGS\" (combining \"-O3\" and"
+ einfo "\"-march=pentium4\" is known to cause problems)."
+ echo
+}
+
+octave-install-doc() {
+ echo "Installing documentation..."
+ insinto /usr/share/doc/${PF}
+ doins doc/faq/Octave-FAQ.dvi || die
+ doins doc/interpreter/octave.dvi || die
+ doins doc/liboctave/liboctave.dvi || die
+ doins doc/refcard/refcard-a4.dvi || die
+ doins doc/refcard/refcard-legal.dvi || die
+ doins doc/refcard/refcard-letter.dvi || die
+}