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