# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/scigraphica/scigraphica-0.8.0-r2.ebuild,v 1.2 2005/05/09 18:04:34 dholm Exp $ inherit eutils DESCRIPTION="Scientific application for data analysis and technical graphics" SRC_URI="mirror://sourceforge/scigraphica/${P}.tar.gz" HOMEPAGE="http://scigraphica.sourceforge.net/" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~ppc" IUSE="gnome" DEPEND=">=x11-libs/gtk+extra-2.0.0 =media-libs/libscigraphica-2.0.0 =dev-python/pygtk-2* =dev-python/numarray* >=dev-libs/libxml2-2.4.10 >=media-libs/imlib-1.9.7 >=intltool-0.27.2" src_compile() { local myconf="" ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myconf} || die "Configuration Failed" emake || die "Make Failed" } src_install() { make DESTDIR=${D} install || die "Installation Failed" dodoc AUTHORS ChangeLog FAQ.compile \ INSTALL NEWS README TODO } pkg_postinst() { ewarn "Please, if you need to remerge pygtk-2* afterwards, do not forget to run scigraphica" ewarn "as your intended user once before that!" ewarn "You may also want to remove ~/.scigpahica/config first." }