From: Olivier Fisette Date: Tue, 28 Dec 2004 14:46:59 +0000 (+0000) Subject: Moving to sci-mathematics/octave X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e540a93a4bc816b8277baf8a51436ded87dde3d;p=gentoo.git Moving to sci-mathematics/octave --- diff --git a/app-sci/octave-forge/Manifest b/app-sci/octave-forge/Manifest index ab996f186afa..1e5063ab6305 100644 --- a/app-sci/octave-forge/Manifest +++ b/app-sci/octave-forge/Manifest @@ -1,6 +1,6 @@ -MD5 6eedf2d591cf97282447787d19ef0773 octave-forge-2003.06.02.ebuild 1921 -MD5 6e0a114d3a87790db12f8ee72f55c7f6 octave-forge-2003.02.22.ebuild 1950 -MD5 9d7321265d058037263956d4bbbf6cdf octave-forge-2004.02.12.ebuild 2178 +MD5 15a05529286b6ee98289e23fd711af0d octave-forge-2003.06.02.ebuild 1929 +MD5 58bd232dbc2505d23c7afa787bb5f782 octave-forge-2003.02.22.ebuild 1958 +MD5 7c404b8e5a2c490befde86c512311ce7 octave-forge-2004.02.12.ebuild 2186 MD5 8368c9155ee095f737692eeecfff3ee6 ChangeLog 2080 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 df51218baee555e6ec187aa95115aa01 files/digest-octave-forge-2003.02.22 76 diff --git a/app-sci/octave/ChangeLog b/app-sci/octave/ChangeLog deleted file mode 100644 index 2864e02b974f..000000000000 --- a/app-sci/octave/ChangeLog +++ /dev/null @@ -1,168 +0,0 @@ -# ChangeLog for app-sci/octave -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/ChangeLog,v 1.40 2004/12/19 10:46:13 kloeri Exp $ - - 19 Dec 2004; Bryan Østergaard - octave-2.1.57-r1.ebuild: - Stable on alpha. - - 15 Dec 2004; Patrick Kursawe 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 +octave-2.1.64.ebuild: - Version bump - - 30 Nov 2004; Patrick Kursawe octave-2.1.50.ebuild: - Adding fortran compiler check from newest version to .50 because of bug #66193. - - 04 Oct 2004; Patrick Kursawe octave-2.1.57-r1.ebuild: - Adding proper quotes to LDFLAGS, fixing bug #66111 - - 01 Oct 2004; Danny van Dyk 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 - 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 - 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 octave-2.1.57-r1.ebuild: - Marked stable on amd64. - - 27 May 2004; Patrick Kursawe octave-2.1.57-r1.ebuild: - Fixed typo about g77/f77 USE flag, bug #51858 - - 15 May 2004; Danny van Dyk 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 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 octave-2.1.57-r1.ebuild: - Installs emacs related files if emacs is in USE now - - 09 May 2004; Danny van Dyk octave-2.1.57.ebuild: - Added local useflag "blas" to make ebuild depend on virtual/blas. - - 05 May 2004; Bryan Østergaard octave-2.1.57.ebuild: - Stable on alpha. - - 21 Apr 2004; Patrick Kursawe octave-2.1.36-r1.ebuild: - replaced another patch by epatch - - 19 Apr 2004; Patrick Kursawe octave-2.0.17-r2.ebuild, - octave-2.1.49.ebuild, octave-2.1.50.ebuild: - Cleanup, added IUSE. - - 30 Mar 2004; Patrick Kursawe 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 octave-2.1.57.ebuild: - Version bump. - -*octave-2.1.50 (07 Jan 2003) - - 07 Jan 2003; George Shapovalov octave-2.1.50.ebuild : - new version - now supports hdf5 for real. Also added mpi use flag. - - 31 Dec 2003; Mamoru KOMACHI 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 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 - in bug #28809 - - 28 Aug 2003; Jason Wever 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 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 for submission - - 29 Mar 2003; George Shapovalov 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 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 octave-2.1.40.ebuild, octave-2.1.36-r1.ebuild : - - fixed tetex optional dependency typo. Thanks to Daniel Karlsson (#14685) for reporting this. - -*octave-2.1.40 (13 Dec 2002) - - 10 Feb 2003; Peter Johanson octave-2.1.40.ebuild : - Added ~alpha to KEYWORDS. - - 13 Dec 2002; George Shapovalov 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 : - Added missing changelog entry. - -*octave-2.0.17-r1 (13 Jul 2002) - - 25 Oct 2002; George Shapovalov 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 : - 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 : - Added PPC to KEYWORDS. - - 15 Jul 2002; Nick Hadaway - 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 octave-2.0.17.ebuild : - Changed to econf. Changed from emake to make to alleviate build - problems. - - 13 Jul 2002; Nick Hadaway 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 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/app-sci/octave/Manifest b/app-sci/octave/Manifest deleted file mode 100644 index d4d71e235cfa..000000000000 --- a/app-sci/octave/Manifest +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 9dcbed94ef4a87f6a80e9f0c5cdca609 octave-2.1.64.ebuild 2880 -MD5 11a8df55d6973d265e7507e68a01eb3a ChangeLog 6665 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -MD5 da68a6e1ee5ed6f35f9a2e328d809a49 octave-2.1.50.ebuild 2361 -MD5 3b91b6ca6d7146d7d1973f1642d083c7 octave-2.1.57.ebuild 2195 -MD5 2cf28a7957f83f2a88c48510c78b3870 octave-2.1.57-r1.ebuild 2852 -MD5 2a52ead20f5e9a16b481e43fe9415104 octave-2.1.36-r1.ebuild 1934 -MD5 c93a44a52d46ca6e8fed8c3c23877c0d files/digest-octave-2.1.36-r1 67 -MD5 32c6cee1f5b42b8b20369c3722fb4db2 files/digest-octave-2.1.57-r1 67 -MD5 74d376b9c7367fe7b333cbc7e8ca37b3 files/kill-dvips.diff 2448 -MD5 32c6cee1f5b42b8b20369c3722fb4db2 files/digest-octave-2.1.57 67 -MD5 806a54605ad877d62105b2f58819c92d files/digest-octave-2.1.50 67 -MD5 045463e5ebb1615d834a8145b27a765d files/filebuf.diff 1275 -MD5 157e958a946705cefe2968c7f46d5263 files/digest-octave-2.1.64 67 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBxVw9ugEuf3OQ0akRAuTpAKCkFyOZJ/BNX5SDqptNcK9ZXxwP0wCfS2vv -0P+5cjE5Gyer3Je/AO4iU7c= -=3ZrB ------END PGP SIGNATURE----- diff --git a/app-sci/octave/files/digest-octave-2.1.36-r1 b/app-sci/octave/files/digest-octave-2.1.36-r1 deleted file mode 100644 index 869e2d30fa34..000000000000 --- a/app-sci/octave/files/digest-octave-2.1.36-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 2ae3b8e954b319a6e37a41c3c5c97583 octave-2.1.36.tar.bz2 3627899 diff --git a/app-sci/octave/files/digest-octave-2.1.50 b/app-sci/octave/files/digest-octave-2.1.50 deleted file mode 100644 index 28007c673ad8..000000000000 --- a/app-sci/octave/files/digest-octave-2.1.50 +++ /dev/null @@ -1 +0,0 @@ -MD5 480d48cd99828fb403ceee53dd1cad2f octave-2.1.50.tar.bz2 3715690 diff --git a/app-sci/octave/files/digest-octave-2.1.57 b/app-sci/octave/files/digest-octave-2.1.57 deleted file mode 100644 index 083d5364fe75..000000000000 --- a/app-sci/octave/files/digest-octave-2.1.57 +++ /dev/null @@ -1 +0,0 @@ -MD5 b781f5d0cd750cb9bb3ef23523f5f339 octave-2.1.57.tar.bz2 4202080 diff --git a/app-sci/octave/files/digest-octave-2.1.57-r1 b/app-sci/octave/files/digest-octave-2.1.57-r1 deleted file mode 100644 index 083d5364fe75..000000000000 --- a/app-sci/octave/files/digest-octave-2.1.57-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b781f5d0cd750cb9bb3ef23523f5f339 octave-2.1.57.tar.bz2 4202080 diff --git a/app-sci/octave/files/digest-octave-2.1.64 b/app-sci/octave/files/digest-octave-2.1.64 deleted file mode 100644 index bf66a94cf4d9..000000000000 --- a/app-sci/octave/files/digest-octave-2.1.64 +++ /dev/null @@ -1 +0,0 @@ -MD5 01ec8b13bd850123b190129be93adc1f octave-2.1.64.tar.bz2 4341798 diff --git a/app-sci/octave/files/filebuf.diff b/app-sci/octave/files/filebuf.diff deleted file mode 100644 index 23a12464b348..000000000000 --- a/app-sci/octave/files/filebuf.diff +++ /dev/null @@ -1,41 +0,0 @@ -diff -urN octave-2.1.36/src/c-file-ptr-stream.h octave-2.1.36-modified/src/c-file-ptr-stream.h ---- octave-2.1.36/src/c-file-ptr-stream.h Thu Nov 1 23:12:00 2001 -+++ octave-2.1.36-modified/src/c-file-ptr-stream.h Mon Jul 15 11:28:29 2002 -@@ -31,13 +31,23 @@ - #include - #include - -+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) -+# include -+#endif -+ - class --c_file_ptr_buf : public std::filebuf -+#if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) -+ c_file_ptr_buf : public __gnu_cxx::stdio_filebuf -+#else -+ c_file_ptr_buf : public std::filebuf -+#endif - { - public: - - #if !defined (CXX_ISO_COMPLIANT_LIBRARY) - typedef int int_type; -+#else -+ typedef std::filebuf::int_type int_type; - #endif - - typedef int (*close_fcn) (FILE *); -@@ -47,7 +57,11 @@ - c_file_ptr_buf (FILE *f_arg, close_fcn cf_arg = ::fclose) - : - #if defined __GNUC__ && __GNUC__ >= 3 -- std::filebuf (f_arg, std::ios::in | std::ios::out), -+# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) -+ __gnu_cxx::stdio_filebuf (f_arg, std::ios::in | std::ios::out), -+# else -+ std::filebuf (f_arg, std::ios::in | std::ios::out), -+#endif - #else - std::filebuf (f_arg ? fileno (f_arg) : -1), - #endif diff --git a/app-sci/octave/files/kill-dvips.diff b/app-sci/octave/files/kill-dvips.diff deleted file mode 100644 index 9d6ff5dead13..000000000000 --- a/app-sci/octave/files/kill-dvips.diff +++ /dev/null @@ -1,62 +0,0 @@ -diff -ru octave-2.1.36/doc/faq/Makefile octave-2.1.36-fixed/doc/faq/Makefile ---- octave-2.1.36/doc/faq/Makefile 2002-09-30 20:37:06.000000000 -0500 -+++ octave-2.1.36-fixed/doc/faq/Makefile 2002-09-30 21:18:21.000000000 -0500 -@@ -46,8 +46,6 @@ - export TEXINPUTS; \ - $(TEXI2DVI) $(srcdir)/Octave-FAQ.texi - --Octave-FAQ.ps: Octave-FAQ.dvi -- -dvips -o Octave-FAQ.ps Octave-FAQ.dvi - - # These option forms are supported by texi2html 1.65 and probably also - # more recent versions. -diff -ru octave-2.1.36/doc/interpreter/Makefile octave-2.1.36-fixed/doc/interpreter/Makefile ---- octave-2.1.36/doc/interpreter/Makefile 2002-09-30 20:37:06.000000000 -0500 -+++ octave-2.1.36-fixed/doc/interpreter/Makefile 2002-09-30 21:18:30.000000000 -0500 -@@ -88,8 +88,6 @@ - export TEXINPUTS; \ - $(TEXI2DVI) $< - --octave.ps: octave.dvi -- -dvips -o octave.ps octave.dvi - - ../../INSTALL.OCTAVE: install.texi - rm -f INSTALL -diff -ru octave-2.1.36/doc/liboctave/Makefile octave-2.1.36-fixed/doc/liboctave/Makefile ---- octave-2.1.36/doc/liboctave/Makefile 2002-09-30 20:37:06.000000000 -0500 -+++ octave-2.1.36-fixed/doc/liboctave/Makefile 2002-09-30 21:18:38.000000000 -0500 -@@ -50,8 +50,6 @@ - export TEXINPUTS; \ - $(TEXI2DVI) $(srcdir)/liboctave.texi - --liboctave.ps: liboctave.dvi -- -dvips -o liboctave.ps liboctave.dvi - - # These option forms are supported by texi2html 1.65 and probably also - # more recent versions. -diff -ru octave-2.1.36/doc/refcard/Makefile octave-2.1.36-fixed/doc/refcard/Makefile ---- octave-2.1.36/doc/refcard/Makefile 2002-09-30 20:37:06.000000000 -0500 -+++ octave-2.1.36-fixed/doc/refcard/Makefile 2002-09-30 21:19:08.000000000 -0500 -@@ -38,22 +38,16 @@ - -TEXINPUTS="$(srcdir):$(TEXINPUTS):"; export TEXINPUTS; \ - tex $(srcdir)/refcard-a4.tex - --refcard-a4.ps: refcard-a4.dvi -- -dvips -T 297mm,210mm -o refcard-a4.ps refcard-a4.dvi - - refcard-legal.dvi: refcard-legal.tex refcard.tex - -TEXINPUTS="$(srcdir):$(TEXINPUTS):"; export TEXINPUTS; \ - tex $(srcdir)/refcard-legal.tex - --refcard-legal.ps: refcard-legal.dvi -- -dvips -T 14in,8.5in -o refcard-legal.ps refcard-legal.dvi - - refcard-letter.dvi: refcard-letter.tex refcard.tex - -TEXINPUTS="$(srcdir):$(TEXINPUTS):"; export TEXINPUTS; \ - tex $(srcdir)/refcard-letter.tex - --refcard-letter.ps: refcard-letter.dvi -- -dvips -T 11in,8.5in -o refcard-letter.ps refcard-letter.dvi - - check install install-strip uninstall: - .PHONY: check install install-strip uninstall diff --git a/app-sci/octave/metadata.xml b/app-sci/octave/metadata.xml deleted file mode 100644 index b229aec85b8f..000000000000 --- a/app-sci/octave/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - -sci - diff --git a/app-sci/octave/octave-2.1.36-r1.ebuild b/app-sci/octave/octave-2.1.36-r1.ebuild deleted file mode 100644 index 3a4cfb4099b9..000000000000 --- a/app-sci/octave/octave-2.1.36-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.36-r1.ebuild,v 1.14 2004/07/01 11:53:45 eradicator Exp $ - -inherit flag-o-matic eutils - -IUSE="tetex" - -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" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc" - -DEPEND="virtual/libc - >=sys-libs/ncurses-5.2-r3 - >=media-gfx/gnuplot-3.7.1-r3 - >=dev-libs/fftw-2.1.3 - >=dev-util/gperf-2.7.2 - tetex? ( virtual/tetex ) " - -# 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_unpack() { - unpack ${A} - cd ${WORKDIR} - epatch ${FILESDIR}/filebuf.diff - -} - -src_compile() { - - filter-flags -ffast-math - - # NOTE: This version actually works with gcc-3.x - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var/state/octave \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --host=${CHOST} \ - --build=${CHOST} \ - --target=${CHOST} \ - --enable-dl \ - --enable-shared \ - --enable-rpath \ - --enable-lite-kernel || die "configure failed" - - epatch ${FILESDIR}/kill-dvips.diff - 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 -} - -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/app-sci/octave/octave-2.1.50.ebuild b/app-sci/octave/octave-2.1.50.ebuild deleted file mode 100644 index 2da4111f6a4f..000000000000 --- a/app-sci/octave/octave-2.1.50.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.50.ebuild,v 1.7 2004/11/30 15:02:53 phosphan 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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc ~alpha ~sparc amd64" -IUSE="static readline zlib tetex hdf5 mpi" - -DEPEND="virtual/libc - >=sys-libs/ncurses-5.2-r3 - >=media-gfx/gnuplot-3.7.1-r3 - >=dev-libs/fftw-2.1.3 - >=dev-util/gperf-2.7.2 - zlib? ( sys-libs/zlib ) - hdf5? ( dev-libs/hdf5 ) - tetex? ( virtual/tetex )" - -# 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 f77 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" - - # 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=-lz || 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 -} - -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/app-sci/octave/octave-2.1.57-r1.ebuild b/app-sci/octave/octave-2.1.57-r1.ebuild deleted file mode 100644 index 110a20cc8bfb..000000000000 --- a/app-sci/octave/octave-2.1.57-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.57-r1.ebuild,v 1.11 2004/12/19 10:46:13 kloeri 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 - >=media-gfx/gnuplot-3.7.1-r3 - >=dev-libs/fftw-2.1.3 - >=dev-util/gperf-2.7.2 - zlib? ( sys-libs/zlib ) - hdf5? ( dev-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 f77 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 -} - -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/app-sci/octave/octave-2.1.57.ebuild b/app-sci/octave/octave-2.1.57.ebuild deleted file mode 100644 index 46701fd926f6..000000000000 --- a/app-sci/octave/octave-2.1.57.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.57.ebuild,v 1.6 2004/07/01 11:53:45 eradicator 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="static readline zlib tetex hdf5 mpi" - -DEPEND="virtual/libc - >=sys-libs/ncurses-5.2-r3 - >=media-gfx/gnuplot-3.7.1-r3 - >=dev-libs/fftw-2.1.3 - >=dev-util/gperf-2.7.2 - zlib? ( sys-libs/zlib ) - hdf5? ( dev-libs/hdf5 ) - tetex? ( virtual/tetex )" - -# 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 - - 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" - - # 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=-lz || 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 -} - -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/app-sci/octave/octave-2.1.64.ebuild b/app-sci/octave/octave-2.1.64.ebuild deleted file mode 100644 index 2694650bbbd6..000000000000 --- a/app-sci/octave/octave-2.1.64.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.64.ebuild,v 1.2 2004/12/15 13:10:35 phosphan 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 - >=media-gfx/gnuplot-3.7.1-r3 - >=dev-libs/fftw-2.1.3 - >=dev-util/gperf-2.7.2 - zlib? ( sys-libs/zlib ) - hdf5? ( dev-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` ]; then - #if ifc is defined then the dep was already checked - eerror "No fortran compiler found on the system!" - eerror "Please add f77 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 -} - -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 -}