# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave-forge/octave-forge-2005.06.13.ebuild,v 1.3 2005/08/21 18:56:45 ribosome 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.69* >=sys-apps/sed-4 sys-libs/libtermcap-compat !amd64? ( ginac? ( sci-mathematics/ginac ) ) qhull? ( >=media-libs/qhull-3.1-r1 )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-mex.patch epatch ${FILESDIR}/${PN}-randmtzig.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