Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/octave: octave-3.2.4.ebuild ChangeLog octave-3.2.0.ebuild octave-3.2.3.ebuild
Date: Mon, 01 Feb 2010 07:09:50
Message-Id: E1NbqPq-0003vf-Qp@stork.gentoo.org
1 bicatali 10/02/01 07:09:46
2
3 Modified: ChangeLog
4 Added: octave-3.2.4.ebuild
5 Removed: octave-3.2.0.ebuild octave-3.2.3.ebuild
6 Log:
7 Version bump. Pulled the science overlay version which included opengl and fltk goodness. The automagic dependency on graphicsmagick still not depend because of missing arches and imread is buggy with graphicsmagick-1.3.8.
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.81 sci-mathematics/octave/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.81&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.81&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.80&r2=1.81
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
20 retrieving revision 1.80
21 retrieving revision 1.81
22 diff -u -r1.80 -r1.81
23 --- ChangeLog 12 Jan 2010 13:41:48 -0000 1.80
24 +++ ChangeLog 1 Feb 2010 07:09:46 -0000 1.81
25 @@ -1,6 +1,14 @@
26 # ChangeLog for sci-mathematics/octave
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.80 2010/01/12 13:41:48 markusle Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.81 2010/02/01 07:09:46 bicatali Exp $
30 +
31 +*octave-3.2.4 (01 Feb 2010)
32 +
33 + 01 Feb 2010; S├ębastien Fabbro <bicatali@g.o> -octave-3.2.0.ebuild,
34 + -octave-3.2.3.ebuild, +octave-3.2.4.ebuild:
35 + Version bump. Pulled the science overlay version which included opengl and
36 + fltk goodness. The automagic dependency on graphicsmagick still not depend
37 + because of missing arches and imread is buggy with graphicsmagick-1.3.8.
38
39 *octave-3.2.3-r1 (12 Jan 2010)
40
41
42
43
44 1.1 sci-mathematics/octave/octave-3.2.4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-3.2.4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-3.2.4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: octave-3.2.4.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.2.4.ebuild,v 1.1 2010/02/01 07:09:46 bicatali Exp $
54
55 EAPI="2"
56 inherit flag-o-matic xemacs-elisp-common
57
58 DESCRIPTION="High-level interactive language for numerical computations"
59 LICENSE="GPL-3"
60 HOMEPAGE="http://www.octave.org/"
61 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
62
63 SLOT="0"
64 IUSE="curl doc emacs fltk fftw hdf5 opengl readline sparse xemacs zlib"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
66
67 # add media-gfx/graphicsmagick[cxx] when keyworded in arches
68 RDEPEND="dev-libs/libpcre
69 media-libs/qhull
70 sci-libs/qrupdate
71 sci-mathematics/glpk
72 sci-visualization/gnuplot
73 sys-libs/ncurses
74 virtual/lapack
75 x11-libs/libX11
76 curl? ( net-misc/curl )
77 fltk? ( x11-libs/fltk:1.1[opengl?] )
78 fftw? ( sci-libs/fftw:3.0 )
79 hdf5? ( sci-libs/hdf5 )
80 opengl? ( virtual/opengl media-libs/ftgl )
81 sparse? ( sci-libs/arpack
82 sci-libs/camd
83 sci-libs/ccolamd
84 sci-libs/cholmod
85 sci-libs/colamd
86 sci-libs/cxsparse
87 sci-libs/umfpack )
88 xemacs? ( app-editors/xemacs )
89 zlib? ( sys-libs/zlib )
90 !sci-mathematics/octave-forge"
91
92 DEPEND="${RDEPEND}
93 virtual/latex-base
94 sys-apps/texinfo
95 || ( dev-texlive/texlive-genericrecommended
96 app-text/ptex )
97 dev-util/gperf
98 dev-util/pkgconfig"
99
100 src_prepare() {
101 epatch "${FILESDIR}"/${PN}-3.2.0_parallel_make.patch
102 epatch "${FILESDIR}"/${PN}-3.2.0_as_needed.patch
103 }
104
105 src_configure() {
106 use fltk || export FLTK_CONFIG=""
107 econf \
108 --localstatedir=/var/state/octave \
109 --enable-shared \
110 --with-qrupdate \
111 --with-blas="$(pkg-config --libs blas)" \
112 --with-lapack="$(pkg-config --libs lapack)" \
113 $(use_enable readline) \
114 $(use_with curl) \
115 $(use_with fftw) \
116 $(use_with hdf5) \
117 $(use_with opengl framework-opengl) \
118 $(use_with sparse arpack) \
119 $(use_with sparse umfpack) \
120 $(use_with sparse colamd) \
121 $(use_with sparse ccolamd) \
122 $(use_with sparse cholmod) \
123 $(use_with sparse cxsparse) \
124 $(use_with zlib)
125 }
126
127 src_compile() {
128 emake || die "emake failed"
129 if use xemacs; then
130 cd "${S}/emacs"
131 xemacs-elisp-comp *.el
132 fi
133 }
134
135 src_install() {
136 emake install DESTDIR="${D}" || die "emake install failed"
137
138 if use doc; then
139 einfo "Installing documentation..."
140 insinto /usr/share/doc/${PF}
141 doins $(find doc -name \*.pdf)
142 fi
143
144 if use emacs || use xemacs; then
145 cd emacs
146 exeinto /usr/bin
147 doexe octave-tags || die "Failed to install octave-tags"
148 doman octave-tags.1 || die "Failed to install octave-tags.1"
149 if use xemacs; then
150 xemacs-elisp-install ${PN} *.el *.elc
151 fi
152 cd ..
153 fi
154
155 echo "LDPATH=/usr/$(get_libdir)/octave-${PV}" > 99octave
156 doenvd 99octave || die
157 }