# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="The Object Oriented MPI (OOMPI) package is an object oriented approach to the Message Passing Interface (MPI)" HOMEPAGE="http://www.osl.iu.edu/research/oompi/" SRC_URI="http://www.osl.iu.edu/download/research/oompi/${P}.tar.bz2" LICENSE="OOMPI" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=sys-cluster/lam-mpi-7.0.6" S=${WORKDIR}/${P} src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die # For Makefiles that don't make proper use of DESTDIR, setting # prefix is often an alternative. However if you do this, then # you also need to specify mandir and infodir, since they were # passed to ./configure as absolute paths (overriding the prefix # setting). #make \ # prefix=${D}/usr \ # mandir=${D}/usr/share/man \ # infodir=${D}/usr/share/info \ # libdir=${D}/usr/$(get_libdir) \ # install || die # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. # The portage shortcut to the above command is simply: # #einstall || die }