diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-06-03 11:56:55 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-06-03 11:56:55 +0000 |
commit | 909a10b9a868440e374afc860148006d1202c3ce (patch) | |
tree | 3e84600f8c0c54178a3349f2dd1b508b75556050 | |
parent | corrected ebuild submitted by Marc St-Pierre <marc@cyberlogic.ca> (diff) | |
download | historical-909a10b9a868440e374afc860148006d1202c3ce.tar.gz historical-909a10b9a868440e374afc860148006d1202c3ce.tar.bz2 historical-909a10b9a868440e374afc860148006d1202c3ce.zip |
corrected ebuild submitted by Marc St-Pierre <marc@cyberlogic.ca>
-rw-r--r-- | dev-libs/lam-mpi/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/lam-mpi/files/digest-lam-mpi-6.5.9-r1 | 1 | ||||
-rw-r--r-- | dev-libs/lam-mpi/lam-mpi-6.5.9-r1.ebuild | 67 |
3 files changed, 70 insertions, 2 deletions
diff --git a/dev-libs/lam-mpi/Manifest b/dev-libs/lam-mpi/Manifest index e89c51871f7c..305188c25cb5 100644 --- a/dev-libs/lam-mpi/Manifest +++ b/dev-libs/lam-mpi/Manifest @@ -1,7 +1,7 @@ MD5 34988679b07155ed51264b0ce7a1b937 lam-mpi-6.5.6-r1.ebuild 1432 MD5 59286f923839d8cfabd95dc57ffed51d lam-mpi-6.5.7.ebuild 1346 -MD5 6391bd0468cb629b26d3822c40ecb083 lam-mpi-6.5.9-r1.ebuild 1510 -MD5 d466a55675a212526d9bc0c69384c274 ChangeLog 2131 +MD5 2d07200b24e39e4bfffa603c726336af lam-mpi-6.5.9-r1.ebuild 1514 +MD5 7ddd43f64462c213d1f3d3510767723b ChangeLog 2133 MD5 0bdf7a839669542df4022074d51dfe12 lam-mpi-6.5.9.ebuild 1344 MD5 742d2b0cd6347d7e8403628f0d56a5d1 files/digest-lam-mpi-6.5.7 63 MD5 e897a667e2ca42d134950b2c85a4b4e3 files/digest-lam-mpi-6.5.9 63 diff --git a/dev-libs/lam-mpi/files/digest-lam-mpi-6.5.9-r1 b/dev-libs/lam-mpi/files/digest-lam-mpi-6.5.9-r1 new file mode 100644 index 000000000000..3f1c3b8d4156 --- /dev/null +++ b/dev-libs/lam-mpi/files/digest-lam-mpi-6.5.9-r1 @@ -0,0 +1 @@ +MD5 8a4e98da5e1ba41e68c9422635b42364 lam-6.5.9.tar.bz2 1642559 diff --git a/dev-libs/lam-mpi/lam-mpi-6.5.9-r1.ebuild b/dev-libs/lam-mpi/lam-mpi-6.5.9-r1.ebuild new file mode 100644 index 000000000000..a0f11ecd5f9c --- /dev/null +++ b/dev-libs/lam-mpi/lam-mpi-6.5.9-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/lam-mpi/lam-mpi-6.5.9-r1.ebuild,v 1.1 2003/06/03 11:56:31 tantive Exp $ + +IUSE="crypt " + +Name="lam" +S=${WORKDIR}/${Name}-${PV} + +DESCRIPTION="the LAM MPI parallel computing environment" +SRC_URI="http://www.lam-mpi.org/download/files/${Name}-${PV}.tar.bz2" +HOMEPAGE="http://www.lam-mpi.org" + +DEPEND="virtual/glibc + !sys-cluster/mpich" +# we need ssh if we want to use it instead of rsh +RDEPEND="${DEPEND} + crypt? ( net-misc/openssh ) : ( net-misc/netkit-rsh )" + +SLOT="6" +KEYWORDS="~x86 ~sparc ~ppc" +LICENSE="as-is" + + +src_unpack() { + unpack ${A} + + cd ${S}/romio/util/ + mv romioinstall.in romioinstall.in-orig + sed -e "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in-orig >romioinstall.in + +} + +src_compile() { + + local myconf + + if use crypt; then + myconf="--with-rsh=ssh" + else + myconf="--with-rsh=rsh" + fi + + econf --with-cflags="${CFLAGS}" \ + --sysconfdir=/etc/lam-mpi \ + --with-cxxflags="${CXXFLAGS}" ${myconf} || die + + # sometimes emake doesn't finish since it gets ahead of itself :) + + make || die + +} + +src_install () { + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man infodir=${D}/usr/share/info \ + sysconfdir=${D}/etc/lam-mpi install || die + + #need to correct the produced absolute symlink + cd ${D}/usr/include + rm mpi++.h + ln -sf mpi2c++/mpi++.h mpi++.h + + dodoc README HISTORY LICENSE RELEASE_NOTES VERSION +} + |