# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 eutils DESCRIPTION="Mathematical computation utility with optional GNOME frontend" HOMEPAGE="http://www.5z.com/jirka/genius.html" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc gnome nls" RDEPEND="=dev-libs/glib-2* >=dev-libs/gmp-4.1 dev-libs/popt sys-libs/ncurses sys-libs/readline gnome? ( =x11-libs/gtk+-2* =gnome-base/libgnome-2* =gnome-base/libgnomeui-2* =gnome-base/libglade-2* >=x11-libs/gtksourceview-0.3 >=x11-libs/vte-0.8.19 )" DEPEND="${RDEPEND} >=dev-util/intltool-0.21 || ( sys-devel/bison dev-util/yacc ) sys-devel/flex app-text/scrollkeeper nls? ( sys-devel/gettext )" G2CONF="${G2CONF} $(use_enable gnome)" DOCS="AUTHORS ChangeLog NEWS README TODO" USE_DESTDIR="1" src_unpack() { unpack ${A} cd ${S}/src epatch ${FILESDIR}/${PV}-term-mpfr.patch || die "patch failed" } src_install() { gnome2_src_install || die for f in globs magic XMLnamespaces ; do rm -f ${D}/usr/share/mime/${f} done }