diff options
author | Tod Neidt <tod@gentoo.org> | 2002-01-18 08:14:25 +0000 |
---|---|---|
committer | Tod Neidt <tod@gentoo.org> | 2002-01-18 08:14:25 +0000 |
commit | ea77ea70580c5bb7197b39b6c8cca76698813788 (patch) | |
tree | ed5e328104a7f988098e8625ccb1b60221601baa /app-misc | |
parent | new, fixed sudo (diff) | |
download | gentoo-2-ea77ea70580c5bb7197b39b6c8cca76698813788.tar.gz gentoo-2-ea77ea70580c5bb7197b39b6c8cca76698813788.tar.bz2 gentoo-2-ea77ea70580c5bb7197b39b6c8cca76698813788.zip |
Initial commit, bonobo support disabled for now.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/scigraphica/files/digest-scigraphica-0.8.0 | 1 | ||||
-rw-r--r-- | app-misc/scigraphica/scigraphica-0.8.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/scigraphica/files/digest-scigraphica-0.8.0 b/app-misc/scigraphica/files/digest-scigraphica-0.8.0 new file mode 100644 index 000000000000..7c3bf43d03e8 --- /dev/null +++ b/app-misc/scigraphica/files/digest-scigraphica-0.8.0 @@ -0,0 +1 @@ +MD5 8527c80fe75bc4f72c14548c7a2b0b71 scigraphica-0.8.0.tar.gz 843776 diff --git a/app-misc/scigraphica/scigraphica-0.8.0.ebuild b/app-misc/scigraphica/scigraphica-0.8.0.ebuild new file mode 100644 index 000000000000..20443b267adb --- /dev/null +++ b/app-misc/scigraphica/scigraphica-0.8.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tod Neidt <tod@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-misc/scigraphica/scigraphica-0.8.0.ebuild,v 1.1 2002/01/18 08:14:24 tod Exp $ + +S=${WORKDIR}/${P} + +DESCRIPTION="Scientific application for data analysis and technical graphics." + +SRC_URI="http://scigraphica.sourceforge.net/src/${P}.tar.gz" + +HOMEPAGE="http://scigraphica.sourceforge.net/" + +DEPEND=">=x11-libs/gtk+extra-0.99.17 + >=dev-python/Numeric-20.3 + >=dev-libs/libxml-1.8.16 + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r3 >=gnome-base/ORBit-0.5.12-r1 >=gnome-base/gnome-print-0.34 )" + #bonobo? ( >=gnome-base/bonobo-1.0.18 )" + +src_compile() { + +#bonobo breaks compile when enabled so it is not enabled for now. +#the result seems to be no printing under gnome. +#also need to look into --with-lp and --with-lpr config flags + + local myconf="" + use gnome || myconf="${myconf} --without-gnome" #default enabled +# use bonobo && myconf="${myconf} --with-bonobo" #default disabled + + #fix Exec= in sg.desktop + cp sg.desktop sg.desktop.orig + sed -e 's:\(Exec=\)sga:\1scigraphica:' sg.desktop.orig > sg.desktop + + #fix termcap dependency + cp configure configure.orig + sed -e 's:-ltermcap:-lncurses:' configure.orig > configure + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "Configuration Failed" + + emake || die "Parallel Make Failed" + +} + +src_install () { + + make DESTDIR=${D} install || die "Installation Failed" + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog FAQ.compile \ + INSTALL NEWS README TODO + +} |