/[gentoo-x86]/app-sci/octave/octave-2.1.36.ebuild
Gentoo

Contents of /app-sci/octave/octave-2.1.36.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Sep 16 21:40:04 2003 UTC (16 years, 4 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
removed crusty ebuilds

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.36.ebuild,v 1.6 2003/09/06 22:23:06 msterret Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations."
7 SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2"
8 HOMEPAGE="http://www.octave.org/"
9
10 DEPEND="virtual/glibc
11 >=sys-libs/ncurses-5.2-r3
12 >=media-gfx/gnuplot-3.7.1-r3
13 >=dev-libs/fftw-2.1.3
14 >=dev-util/gperf-2.7.2"
15 PROVIDE="dev-lang/octave"
16
17 LICENSE="GPL-2"
18 KEYWORDS="x86 ppc"
19 SLOT="0"
20
21 # NOTE: octave supports blas/lapack from intel but this is not open
22 # source nor is it free (as in beer OR speech) Check out...
23 # http://developer.intel.com/software/products/mkl/mkl52/index.htm for
24 # more information
25
26 src_unpack() {
27
28 unpack ${A}
29 cd ${WORKDIR}
30 patch -p0 < ${FILESDIR}/filebuf.diff
31
32 }
33
34 src_compile() {
35 # NOTE: This version actually works with gcc-3.x
36 ./configure --prefix=/usr \
37 --sysconfdir=/etc \
38 --localstatedir=/var/state/octave \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 --host=${CHOST} \
42 --build=${CHOST} \
43 --target=${CHOST} \
44 --enable-dl \
45 --enable-shared \
46 --enable-rpath \
47 --enable-lite-kernel || die "configure failed"
48
49 emake || die "emake failed"
50
51 }
52
53 src_install () {
54
55 make \
56 prefix=${D}/usr \
57 mandir=${D}/usr/share/man \
58 infodir=${D}/usr/share/info \
59 install || die "make install failed"
60
61 }

  ViewVC Help
Powered by ViewVC 1.1.20