# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_P="${PN}-${PV}a1" DESCRIPTION="Distributed parallel programming for python" HOMEPAGE="http://pympi.sourceforge.net" SRC_URI="mirror://sourceforge/pympi/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=sys-cluster/mpich-1.2.5-r1 >=dev-lang/python-2.2" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${MY_P}.tar.gz cd ${S} } src_compile() { CC=mpicc ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" #emake || die make || die } src_install() { make DESTDIR=${D} install || die }