|
|
inherit eutils | inherit eutils |
| |
DESCRIPTION="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/libscigraphica-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() { |
src_unpack() { |
local myconf="" |
unpack ${A} |
|
cd ${S} |
|
} |
| |
|
src_compile() { |
./configure \ | ./configure \ |
--host=${CHOST} \ | --host=${CHOST} \ |
--prefix=/usr \ | --prefix=/usr \ |
|
|
--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() { |
|
|
} | } |
| |
pkg_postinst() { | pkg_postinst() { |
ewarn "Please, if you need to remerge pygtk-2* afterwards, do not forget to run scigraphica" |
ewarn "Please be shure to rm your old scigraphica" |
ewarn "as your intended user once before that!" |
ewarn "configureation directory." |
ewarn "You may also want to remove ~/.scigpahica/config first." |
ewarn "Otherwise sg won't work." |
|
sleep 5 |
} | } |
|
|