/[gentoo-x86]/sci-mathematics/octave-forge/octave-forge-2006.03.17.ebuild
Gentoo

Contents of /sci-mathematics/octave-forge/octave-forge-2006.03.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu Jun 24 17:17:42 2010 UTC (4 years ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Removed octave-forge

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave-forge/octave-forge-2006.03.17.ebuild,v 1.11 2008/07/23 17:19:32 markusle Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A collection of custom scripts, functions and extensions for GNU Octave"
8 HOMEPAGE="http://octave.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/octave/${P}.tar.gz"
10
11 LICENSE="as-is"
12 KEYWORDS="amd64 ppc ~sparc x86"
13 SLOT="0"
14 IUSE="ginac qhull X"
15
16 DEPEND="=sci-mathematics/octave-2.1.7*
17 sci-libs/netcdf
18 media-libs/jpeg
19 media-libs/libpng
20 sci-libs/gsl
21 dev-libs/libpcre
22 sys-libs/readline
23 sys-apps/texinfo
24 sys-libs/ncurses
25 virtual/lapack
26 virtual/blas
27 X? ( x11-libs/libX11 )
28 !amd64? ( ginac? ( sci-mathematics/ginac ) )
29 qhull? ( >=media-libs/qhull-3.1-r1 )"
30
31 src_unpack() {
32 cd "${S}"
33 unpack ${A}
34 epatch "${FILESDIR}"/${P}-imagemagick.patch
35 }
36
37 src_compile() {
38 econf $(use_with X) || die "econf failed"
39 emake || die "emake failed"
40 }
41
42 src_install() {
43 make DESTDIR="${D}" install || die "install failed"
44
45 dodoc AUTHORS COPYING* ChangeLog RELEASE-NOTES TODO
46 }
47
48 pkg_postinst() {
49 einfo "If you do not have GiNaC and Qhull installed, octave-forge did not"
50 einfo "compile itself with support for the geometry and symbolic math"
51 einfo "extensions. If you would like these features, please emerge ginac"
52 einfo "and/or qhull and then re-emerge octave-forge. Alternately, you can"
53 einfo "specify USE='ginac qhull' and re-emerge octave-forge; in that case"
54 einfo "the ebuild will automatically install the additional packages."
55 }

  ViewVC Help
Powered by ViewVC 1.1.20