--- libscigraphica-2.0.0.pablo.ebuild 2005-05-21 18:31:22.058848795 +0200 +++ libscigraphica-2.0.0.ebuild 2005-05-21 18:32:35.721996852 +0200 @@ -4,23 +4,44 @@ inherit eutils -DESCRIPTION="Libraries for Scigraphica - a scientific application for data analysis and technical graphics" -SRC_URI="mirror://sourceforge/scigraphica/${P}.tar.gz" +DESCRIPTION="Scientific application for data analysis and technical graphics" +SRC_URI="http://mesh.dl.sourceforge.net/sourceforge/scigraphica/${P}.tar.gz" HOMEPAGE="http://scigraphica.sourceforge.net/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~ppc" +KEYWORDS="~x86" +#IUSE="gnome" +IUSE="" DEPEND=">=x11-libs/gtk+extra-2.0.0 - =dev-lang/python-2* - =dev-python/numarray* - >=dev-libs/libxml2-2.4.10 - >=media-libs/libart_lgpl-2.3* - >=intltool-0.27.2" + >=dev-python/pygtk-2.4.1 + >=dev-python/numarray-0.8 + >=dev-libs/libxml2-2.4.10" +# gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r3 =gnome-base/orbit-0* >=gnome-base/gnome-print-0.34 )" + + +src_unpack() { + unpack ${A} + cd ${S} +} src_compile() { - local myconf="" + #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} \ @@ -29,7 +50,7 @@ --mandir=/usr/share/man \ ${myconf} || die "Configuration Failed" - emake || die "Make Failed" + emake || die "Parallel Make Failed" } src_install() { @@ -38,3 +59,4 @@ INSTALL NEWS README TODO } +