# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils MY_P="${PN}-${PV/_beta/b}" 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" DEPEND=">=sys-cluster/mpich-1.2.5.2 >=dev-lang/python-2.3.4" DEPEND="" RDEPEND="" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${MY_P}.tar.gz cd ${S} epatch ${FILESDIR}/sandboxfix-2.1_beta4.diff } 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 dodoc docs/* dodoc COPYING dodoc LICENSE.TXT }