summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-08-24 08:14:02 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-08-24 08:14:02 +0000
commit98543f21e8ba12bc60091b146997a4000e82f93a (patch)
tree1874c08986efc2cfd08e93d5510287eb8e3c8811 /app-sci/octave-forge
parentmarked 2.1.49 stable (diff)
downloadgentoo-2-98543f21e8ba12bc60091b146997a4000e82f93a.tar.gz
gentoo-2-98543f21e8ba12bc60091b146997a4000e82f93a.tar.bz2
gentoo-2-98543f21e8ba12bc60091b146997a4000e82f93a.zip
new version
Diffstat (limited to 'app-sci/octave-forge')
-rw-r--r--app-sci/octave-forge/ChangeLog9
-rw-r--r--app-sci/octave-forge/Manifest6
-rw-r--r--app-sci/octave-forge/files/digest-octave-forge-2003.06.021
-rw-r--r--app-sci/octave-forge/octave-forge-2003.02.22.ebuild4
-rw-r--r--app-sci/octave-forge/octave-forge-2003.06.02.ebuild55
5 files changed, 70 insertions, 5 deletions
diff --git a/app-sci/octave-forge/ChangeLog b/app-sci/octave-forge/ChangeLog
index 21b0f74fd948..3bd3c5c51281 100644
--- a/app-sci/octave-forge/ChangeLog
+++ b/app-sci/octave-forge/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-sci/octave-forge
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-sci/octave-forge/ChangeLog,v 1.2 2003/06/10 18:18:08 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/octave-forge/ChangeLog,v 1.3 2003/08/24 08:13:54 george Exp $
+
+*octave-forge-2003.06.02 (23 Aug 2003)
+
+ 23 Aug 2003; George Shapovalov <george@gentoo.org> octave-forge-2003.06.02.ebuild :
+ new version (#20087)
+ should now work with all version of GNU/Octave from v2.1.39 to the latest version (v2.1.49).
+ ebuild updated by Shaun Cloherty <s.cloherty@gsbme.unsw.edu.au>
10 Jun 2003; <msterret@gentoo.org> octave-forge-2003.02.22.ebuild:
DEPEND on sed >= 4
diff --git a/app-sci/octave-forge/Manifest b/app-sci/octave-forge/Manifest
index c8786fd8dd02..7422ea3dc981 100644
--- a/app-sci/octave-forge/Manifest
+++ b/app-sci/octave-forge/Manifest
@@ -1,4 +1,6 @@
-MD5 8e2a4333928c6e0c907ff271b61e1409 octave-forge-2003.02.22.ebuild 1936
-MD5 406fd54093f06afd9614cac1544399dd ChangeLog 713
+MD5 9014730fe8eebc6f40c5ffec75b7a2da octave-forge-2003.06.02.ebuild 1934
+MD5 76479ab4ce0d19959c26bc8a13b2319b octave-forge-2003.02.22.ebuild 1933
+MD5 3c354ebc23639cb0b7a942e6372a71c5 ChangeLog 1022
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 df51218baee555e6ec187aa95115aa01 files/digest-octave-forge-2003.02.22 76
+MD5 b0d60c59feed689f1454ba67e50df211 files/digest-octave-forge-2003.06.02 76
diff --git a/app-sci/octave-forge/files/digest-octave-forge-2003.06.02 b/app-sci/octave-forge/files/digest-octave-forge-2003.06.02
new file mode 100644
index 000000000000..7e90489c6124
--- /dev/null
+++ b/app-sci/octave-forge/files/digest-octave-forge-2003.06.02
@@ -0,0 +1 @@
+MD5 73e24fc661bc94d83535e4387d24cea3 octave-forge-2003.06.02.tar.gz 2471460
diff --git a/app-sci/octave-forge/octave-forge-2003.02.22.ebuild b/app-sci/octave-forge/octave-forge-2003.02.22.ebuild
index ac0b975ece18..1d8899bda986 100644
--- a/app-sci/octave-forge/octave-forge-2003.02.22.ebuild
+++ b/app-sci/octave-forge/octave-forge-2003.02.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/octave-forge/octave-forge-2003.02.22.ebuild,v 1.2 2003/06/10 18:18:08 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/octave-forge/octave-forge-2003.02.22.ebuild,v 1.3 2003/08/24 08:13:54 george Exp $
DESCRIPTION="A collection of custom scripts, functions and extensions for GNU Octave"
HOMEPAGE="http://octave.sourceforge.net/"
@@ -8,7 +8,7 @@ SRC_URI="mirror://sourceforge/octave/${P}.tar.gz"
LICENSE="as-is"
# I have only tested this library on x86
-KEYWORDS="~x86"
+KEYWORDS="x86"
SLOT="0"
IUSE="ginac qhull"
diff --git a/app-sci/octave-forge/octave-forge-2003.06.02.ebuild b/app-sci/octave-forge/octave-forge-2003.06.02.ebuild
new file mode 100644
index 000000000000..e7b5bd7cdf14
--- /dev/null
+++ b/app-sci/octave-forge/octave-forge-2003.06.02.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/octave-forge/octave-forge-2003.06.02.ebuild,v 1.1 2003/08/24 08:13:54 george Exp $
+
+DESCRIPTION="A collection of custom scripts, functions and extensions for GNU Octave"
+HOMEPAGE="http://octave.sourceforge.net/"
+SRC_URI="mirror://sourceforge/octave/${P}.tar.gz"
+
+LICENSE="as-is"
+# I have only tested this library on x86
+KEYWORDS="~x86"
+SLOT="0"
+IUSE="ginac qhull"
+
+DEPEND=">=app-sci/octave-2.1.40
+ >=sys-apps/sed-4
+ sys-libs/libtermcap-compat
+ ginac? ( app-sci/ginac )
+ qhull? ( >=media-libs/qhull-3.1-r1 )"
+
+
+src_compile() {
+ econf || die "econf failed"
+
+ # The MPATH, OPATH, and XPATH variables need to be changed, or they will
+ # cause Portage access violations. They cannot be easily set just using
+ # arguments passed to ./configure (at least, they can not easily be set
+ # correctly)
+ echo -en "Modifying paths..."
+ sed -i "s|^\(MPATH = \)|\1${D}|" Makeconf || die "failed to modify MPATH"
+ sed -i "s|^\(OPATH = \)|\1${D}|" Makeconf || die "failed to modify OPATH"
+ sed -i "s|^\(XPATH = \)|\1${D}|" Makeconf || die "failed to modify XPATH"
+ echo -e "done.\n"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+
+ # strip the fudged install paths
+ sed -i "s|${D}||g" ${D}/usr/bin/mex || die "sed failed"
+
+ dodoc AUTHORS COPYING* ChangeLog INDEX RELEASE-NOTES TODO
+}
+
+pkg_postinst() {
+ einfo "If you do not have GiNaC and Qhull installed, octave-forge did not"
+ einfo "compile itself with support for the geometry and symbolic math"
+ einfo "extensions. If you would like these features, please emerge ginac"
+ einfo "and/or qhull and then re-emerge octave-forge. Alternately, you can"
+ einfo "specify USE='ginac qhull' and re-emerge octave-forge; in that case"
+ einfo "the ebuild will automatically install the additional packages."
+}
+