public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sys-cluster/os-mpi/
@ 2011-03-03 20:36 Alexey Shvetsov
  0 siblings, 0 replies; only message in thread
From: Alexey Shvetsov @ 2011-03-03 20:36 UTC (permalink / raw
  To: gentoo-commits

commit:     c593e6d49ebae2acb667babf8dce0d845735e9aa
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 20:35:57 2011 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 20:36:34 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c593e6d4

[os-mpi] update os-mpi for prefix

---
 sys-cluster/os-mpi/metadata.xml    |    4 ++--
 sys-cluster/os-mpi/os-mpi-0.ebuild |   17 +++++++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/os-mpi/metadata.xml b/sys-cluster/os-mpi/metadata.xml
index f46da0d..a70357e 100644
--- a/sys-cluster/os-mpi/metadata.xml
+++ b/sys-cluster/os-mpi/metadata.xml
@@ -3,7 +3,7 @@
 <pkgmetadata>
 <herd>cluster</herd>
 	<maintainer>
-		<email>kleiner_otti@gmx.de</email>
-		<name>Christoph Junghans</name>
+		<email>alexxy@gentoo.org</email>
+		<name>Alexey Shvetsov</name>
 	</maintainer>
 </pkgmetadata>

diff --git a/sys-cluster/os-mpi/os-mpi-0.ebuild b/sys-cluster/os-mpi/os-mpi-0.ebuild
index 4c8335b..615cb69 100644
--- a/sys-cluster/os-mpi/os-mpi-0.ebuild
+++ b/sys-cluster/os-mpi/os-mpi-0.ebuild
@@ -16,3 +16,20 @@ IUSE=""
 DEPEND=""
 RDEPEND="${DEPEND}"
 
+src_install() {
+	cat >> "${T}"/99mpi <<- EOF
+	MPI_CC=gcc
+	MPI_CXX=g++
+	MPI_FC=gfortran
+	MPI_F90=gfortran
+	HPMPI_F77=gfortran
+	EOF
+	doenvd "${T}"/99mpi
+}
+
+pkg_postinst() {
+	einfo
+	einfo "Please read and edit ${EPREFIX}/etc/env.d/99mpi"
+	einfo "to add needed values for your os-mpi implentation"
+	einfo
+}



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-03 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 20:36 [gentoo-commits] proj/sci:master commit in: sys-cluster/os-mpi/ Alexey Shvetsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox