1 |
markusle 09/11/04 11:26:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: octave-3.2.3.ebuild |
5 |
Log: |
6 |
Version bump (fixes #291560). |
7 |
(Portage version: 2.1.7.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.79 sci-mathematics/octave/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.79&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.79&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.78&r2=1.79 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v |
19 |
retrieving revision 1.78 |
20 |
retrieving revision 1.79 |
21 |
diff -u -r1.78 -r1.79 |
22 |
--- ChangeLog 4 Nov 2009 11:05:01 -0000 1.78 |
23 |
+++ ChangeLog 4 Nov 2009 11:26:39 -0000 1.79 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-mathematics/octave |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.78 2009/11/04 11:05:01 markusle Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.79 2009/11/04 11:26:39 markusle Exp $ |
29 |
+ |
30 |
+*octave-3.2.3 (04 Nov 2009) |
31 |
+ |
32 |
+ 04 Nov 2009; Markus Dittrich <markusle@g.o> +octave-3.2.3.ebuild: |
33 |
+ Version bump (fixes #291560). |
34 |
|
35 |
04 Nov 2009; Markus Dittrich <markusle@g.o> octave-3.2.0.ebuild: |
36 |
Added arpack to list of sparse matrix dependencies (#277171). |
37 |
|
38 |
|
39 |
|
40 |
1.1 sci-mathematics/octave/octave-3.2.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-3.2.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-3.2.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: octave-3.2.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.2.3.ebuild,v 1.1 2009/11/04 11:26:39 markusle Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
inherit flag-o-matic fortran xemacs-elisp-common |
53 |
|
54 |
DESCRIPTION="High-level interactive language for numerical computations" |
55 |
LICENSE="GPL-3" |
56 |
HOMEPAGE="http://www.octave.org/" |
57 |
SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2" |
58 |
|
59 |
SLOT="0" |
60 |
IUSE="emacs readline zlib doc hdf5 curl fftw xemacs sparse" |
61 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
62 |
|
63 |
RDEPEND="virtual/lapack |
64 |
dev-libs/libpcre |
65 |
sys-libs/ncurses |
66 |
sci-visualization/gnuplot |
67 |
>=sci-mathematics/glpk-4.15 |
68 |
media-libs/qhull |
69 |
fftw? ( >=sci-libs/fftw-3.1.2 ) |
70 |
zlib? ( sys-libs/zlib ) |
71 |
hdf5? ( sci-libs/hdf5 ) |
72 |
curl? ( net-misc/curl ) |
73 |
xemacs? ( app-editors/xemacs ) |
74 |
sparse? ( sci-libs/umfpack |
75 |
sci-libs/arpack |
76 |
sci-libs/colamd |
77 |
sci-libs/camd |
78 |
sci-libs/ccolamd |
79 |
sci-libs/cholmod |
80 |
sci-libs/cxsparse ) |
81 |
!sci-mathematics/octave-forge" |
82 |
|
83 |
DEPEND="${RDEPEND} |
84 |
virtual/latex-base |
85 |
sys-apps/texinfo |
86 |
|| ( dev-texlive/texlive-genericrecommended |
87 |
app-text/ptex ) |
88 |
dev-util/gperf |
89 |
dev-util/pkgconfig" |
90 |
|
91 |
FORTRAN="gfortran ifc g77 f2c" |
92 |
|
93 |
src_prepare() { |
94 |
epatch "${FILESDIR}"/${PN}-3.2.0_parallel_make.patch |
95 |
epatch "${FILESDIR}"/${PN}-3.2.0_as_needed.patch |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
econf \ |
100 |
--localstatedir=/var/state/octave \ |
101 |
--enable-shared \ |
102 |
--with-blas="$(pkg-config --libs blas)" \ |
103 |
--with-lapack="$(pkg-config --libs lapack)" \ |
104 |
$(use_with hdf5) \ |
105 |
$(use_with curl) \ |
106 |
$(use_with zlib) \ |
107 |
$(use_with fftw) \ |
108 |
$(use_with sparse arpack) \ |
109 |
$(use_with sparse umfpack) \ |
110 |
$(use_with sparse colamd) \ |
111 |
$(use_with sparse ccolamd) \ |
112 |
$(use_with sparse cholmod) \ |
113 |
$(use_with sparse cxsparse) \ |
114 |
$(use_enable readline) |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
emake || die "emake failed" |
119 |
|
120 |
if use xemacs; then |
121 |
cd "${S}/emacs" |
122 |
xemacs-elisp-comp *.el |
123 |
fi |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
emake install DESTDIR="${D}" || die "emake install failed" |
128 |
|
129 |
if use doc; then |
130 |
einfo "Installing documentation..." |
131 |
insinto /usr/share/doc/${PF} |
132 |
doins $(find doc -name \*.pdf) |
133 |
fi |
134 |
|
135 |
if use emacs || use xemacs; then |
136 |
cd emacs |
137 |
exeinto /usr/bin |
138 |
doexe octave-tags || die "Failed to install octave-tags" |
139 |
doman octave-tags.1 || die "Failed to install octave-tags.1" |
140 |
if use xemacs; then |
141 |
xemacs-elisp-install ${PN} *.el *.elc |
142 |
fi |
143 |
cd .. |
144 |
fi |
145 |
|
146 |
echo "LDPATH=/usr/$(get_libdir)/octave-${PV}" > 99octave |
147 |
doenvd 99octave || die |
148 |
} |