# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ 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}/${PV}.patch epatch ${FILESDIR}/octave-forge.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