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

Contents of /sci-mathematics/octave-forge/octave-forge-2006.03.17-r1.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, 6 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Removed octave-forge

1 # Copyright 1999-2009 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-r1.ebuild,v 1.11 2009/05/17 13:25:07 nixnut 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 sci-calculators/units
28 X? ( x11-libs/libX11 )
29 !amd64? ( ginac? ( sci-mathematics/ginac ) )
30 qhull? ( >=media-libs/qhull-3.1-r1 )"
31
32 src_unpack() {
33 cd "${S}"
34 unpack ${A}
35 epatch "${FILESDIR}"/${PN}-config-fix.patch
36 epatch "${FILESDIR}"/${P}-imagemagick.patch
37 epatch "${FILESDIR}"/${P}-gcc43.patch
38 }
39
40 src_compile() {
41 econf $(use_with X x) || die "econf failed"
42 emake || die "emake failed"
43 }
44
45 src_install() {
46 make DESTDIR="${D}" install || die "install failed"
47
48 dodoc AUTHORS COPYING* ChangeLog RELEASE-NOTES TODO
49 }
50
51 pkg_postinst() {
52 einfo "If you do not have GiNaC and Qhull installed, octave-forge did not"
53 einfo "compile itself with support for the geometry and symbolic math"
54 einfo "extensions. If you would like these features, please emerge ginac"
55 einfo "and/or qhull and then re-emerge octave-forge. Alternately, you can"
56 einfo "specify USE='ginac qhull' and re-emerge octave-forge; in that case"
57 einfo "the ebuild will automatically install the additional packages."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20