# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave-forge/octave-forge-2004.11.16-r2.ebuild,v 1.2 2006/09/30 23:59:43 wormo Exp $ inherit eutils DESCRIPTION="A collection of custom scripts, functions and extensions for GNU Octave" HOMEPAGE="http://octave.sourceforge.net/" SRC_URI="mirror://sourceforge/octave/${P}.tar.gz" LICENSE="as-is" KEYWORDS="x86 ~ppc ~sparc amd64" SLOT="0" IUSE="ginac qhull" DEPEND=">=sci-mathematics/octave-2.1.62 >=sys-apps/sed-4 sys-libs/ncurses !amd64? ( ginac? ( sci-mathematics/ginac ) ) qhull? ( >=media-libs/qhull-3.1-r1 )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-mex.patch # make it compile when X isn't installed. The source file there really # doesn't need X at all. # 02 Feb 2005, Robin H. Johnson sed -e '/#include