summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/lam-mpi/ChangeLog7
-rw-r--r--sys-cluster/lam-mpi/Manifest2
-rw-r--r--sys-cluster/lam-mpi/files/digest-lam-mpi-7.0.4-r11
-rw-r--r--sys-cluster/lam-mpi/lam-mpi-7.0.4-r1.ebuild72
4 files changed, 81 insertions, 1 deletions
diff --git a/sys-cluster/lam-mpi/ChangeLog b/sys-cluster/lam-mpi/ChangeLog
index dbf60fa3c75a..1e9a9d03c479 100644
--- a/sys-cluster/lam-mpi/ChangeLog
+++ b/sys-cluster/lam-mpi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/lam-mpi
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.18 2004/07/13 16:11:49 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.19 2004/07/13 16:16:49 tantive Exp $
+
+*lam-mpi-7.0.4-r1 (13 Jul 2004)
+
+ 13 Jul 2004; Michael Imhof <tantive@gentoo.org> +lam-mpi-7.0.4-r1.ebuild:
+ Fixed the ebuild. Added more config options. Closes #55046.
*lam-mpi-7.0.6 (13 Jul 2004)
diff --git a/sys-cluster/lam-mpi/Manifest b/sys-cluster/lam-mpi/Manifest
index 5b7419d175ae..b919c4611195 100644
--- a/sys-cluster/lam-mpi/Manifest
+++ b/sys-cluster/lam-mpi/Manifest
@@ -1,4 +1,5 @@
MD5 5d64bd89ac32063c50950027f0cebcc9 lam-mpi-7.0.2.ebuild 1419
+MD5 37f7476394a2b451495efe9e95dc354d lam-mpi-7.0.4-r1.ebuild 1590
MD5 cde8b4e93c9339eb99fe3ad45941c99b metadata.xml 160
MD5 f02ae0b63f2b661d94b64cc18d12201c lam-mpi-6.5.6-r1.ebuild 1428
MD5 8421f259109579a8524a55ec707ad3d3 lam-mpi-7.0.6.ebuild 1587
@@ -12,3 +13,4 @@ MD5 e897a667e2ca42d134950b2c85a4b4e3 files/digest-lam-mpi-6.5.9-r1 63
MD5 f99c2a4c1cbbfd97415b800afca5d343 files/digest-lam-mpi-7.0.3 63
MD5 1d7b0bf28395a80f386bf8ea489c69b8 files/digest-lam-mpi-7.0.4 63
MD5 da17d8227315799bb5745b32fe45e398 files/digest-lam-mpi-7.0.2 63
+MD5 1d7b0bf28395a80f386bf8ea489c69b8 files/digest-lam-mpi-7.0.4-r1 63
diff --git a/sys-cluster/lam-mpi/files/digest-lam-mpi-7.0.4-r1 b/sys-cluster/lam-mpi/files/digest-lam-mpi-7.0.4-r1
new file mode 100644
index 000000000000..f3bbd3f035b4
--- /dev/null
+++ b/sys-cluster/lam-mpi/files/digest-lam-mpi-7.0.4-r1
@@ -0,0 +1 @@
+MD5 cf0bc94ee149ea84b3bc700a383808e1 lam-7.0.4.tar.bz2 5695492
diff --git a/sys-cluster/lam-mpi/lam-mpi-7.0.4-r1.ebuild b/sys-cluster/lam-mpi/lam-mpi-7.0.4-r1.ebuild
new file mode 100644
index 000000000000..c769544072de
--- /dev/null
+++ b/sys-cluster/lam-mpi/lam-mpi-7.0.4-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.0.4-r1.ebuild,v 1.1 2004/07/13 16:16:49 tantive Exp $
+
+IUSE="crypt"
+
+MY_P=${P/-mpi}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="the LAM MPI parallel computing environment"
+SRC_URI="http://www.lam-mpi.org/download/files/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.lam-mpi.org"
+
+DEPEND="virtual/libc"
+# we need ssh if we want to use it instead of rsh
+RDEPEND="${DEPEND}
+ crypt? ( net-misc/openssh )
+ !crypt? ( net-misc/netkit-rsh )
+ !sys-cluster/mpich"
+
+SLOT="6"
+KEYWORDS="~x86"
+LICENSE="as-is"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/romio/util/
+ sed -i "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in
+}
+
+src_compile() {
+
+ local myconf
+
+ if use crypt; then
+ myconf="--with-rsh=ssh"
+ else
+ myconf="--with-rsh=rsh"
+ fi
+
+ econf \
+ --sysconfdir=/etc/lam-mpi \
+ --enable-shared \
+ --enable-long-long \
+ --enable-threads=posix \
+ --enable-languages=c,c++,f77 \
+ --disable-checking \
+ --enable-cstdio=stdio \
+ --with-system-zlib \
+ ${myconf} || die
+
+ # sometimes emake doesn't finish since it gets ahead of itself :)
+
+ make || die
+}
+
+src_install () {
+
+ make DESTDIR="${D}" install || die
+
+ #need to correct the produced absolute symlink
+ cd ${D}/usr/include
+ rm mpi++.h
+ ln -sf mpi2c++/mpi++.h mpi++.h
+
+ # There are a bunch more tex docs we could make and install too,
+ # but they might be replicated in the pdf.
+ dodoc README HISTORY LICENSE VERSION
+ cd ${S}/doc
+ dodoc {user,install}.pdf
+}