summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/mpi-dotnet')
-rw-r--r--sys-cluster/mpi-dotnet/Manifest6
-rw-r--r--sys-cluster/mpi-dotnet/files/Makefile.am.patch22
-rw-r--r--sys-cluster/mpi-dotnet/files/Unsafe.pl.patch11
-rw-r--r--sys-cluster/mpi-dotnet/files/configure.ac.patch22
-rw-r--r--sys-cluster/mpi-dotnet/metadata.xml12
-rw-r--r--sys-cluster/mpi-dotnet/mpi-dotnet-1.0.0.ebuild52
6 files changed, 125 insertions, 0 deletions
diff --git a/sys-cluster/mpi-dotnet/Manifest b/sys-cluster/mpi-dotnet/Manifest
new file mode 100644
index 0000000..f0a1cb5
--- /dev/null
+++ b/sys-cluster/mpi-dotnet/Manifest
@@ -0,0 +1,6 @@
+AUX Makefile.am.patch 760 RMD160 6f2755a39e79145dd716a43c0522aa81d3c3574c SHA1 4c501ba3c74c0dd39cdd212b79ae82f1d547d11e SHA256 0502a165bba801c134e0876308574a7c2c9dbbfc72d7e3564ef628a74f96fbf8
+AUX Unsafe.pl.patch 383 RMD160 88c26da75bda24b192c1a44f222285855d6e13a9 SHA1 f6a8f6a976aa70d7ac44bc7c68e696e884c0e599 SHA256 868c438983f92ccae74752acba7dcd0a09d28df264b40960c44cf346d9017ac1
+AUX configure.ac.patch 653 RMD160 b1003db5383037b349d743d69a141a4cbca10e4c SHA1 26a17c65a9b2d62743955174ea5a9fe26f56b238 SHA256 94b019b45cbfd61e6d2003b7aeac5d1c7c37beecc6b27679edf713798516a2d6
+DIST mpi.net-1.0.0.tar.gz 2349909 RMD160 578253d3e2cf97365c4b261cee7752d7aa4922a1 SHA1 717eddba645e3218ea851a8d0d4ab5a33d6979de SHA256 95febe238659f112aa742f40543d7cc5dc8c0abb1958321d54d9cc3926f6b8f4
+EBUILD mpi-dotnet-1.0.0.ebuild 1034 RMD160 3dfd8770f8e1b987152573fb8c524735d35b181b SHA1 d0c333083cb3576edb42042ef5f5d7fa415b69a6 SHA256 bc081e89aff5fe7035c27cb9c721a2832947ad3335e80f682eebb1de6f4660bc
+MISC metadata.xml 294 RMD160 bf91c59e15d0148307cdc3cf06770bf2490a24a3 SHA1 8030a8353c86cb0490ed5762b662220746f076cd SHA256 b484bd995ef53669367bb07a201973155ca782f97ca702098609db1e768280a0
diff --git a/sys-cluster/mpi-dotnet/files/Makefile.am.patch b/sys-cluster/mpi-dotnet/files/Makefile.am.patch
new file mode 100644
index 0000000..195ea4c
--- /dev/null
+++ b/sys-cluster/mpi-dotnet/files/Makefile.am.patch
@@ -0,0 +1,22 @@
+--- mpi.net-1.0.0.orig/MPI/Makefile.am 2009-02-03 23:55:47.000000000 +0100
++++ mpi.net-1.0.0/MPI/Makefile.am 2009-02-03 23:56:18.000000000 +0100
+@@ -16,8 +16,8 @@
+ endif
+
+ SOURCES=$(srcdir)/Attribute.cs \
+- $(srcdir)/CartesianCommunicator.cs \
+- $(srcdir)/Communicator.cs \
++ $(srcdir)/CartesianCommunicator.cs \
++ $(srcdir)/Communicator.cs \
+ $(srcdir)/Comparison.cs \
+ $(srcdir)/DatatypeCache.cs \
+ $(srcdir)/Environment.cs \
+@@ -31,7 +31,7 @@
+ $(srcdir)/RequestList.cs \
+ $(srcdir)/Status.cs \
+ $(srcdir)/TagAllocator.cs \
+- $(srcdir)/TopologicalCommunicator.cs \
++ $(srcdir)/TopologicalCommunicator.cs \
+ $(srcdir)/UnmanagedMemoryStream.cs
+
+ # We want to install directly into /lib, but we can't write lib_SCRIPTS
diff --git a/sys-cluster/mpi-dotnet/files/Unsafe.pl.patch b/sys-cluster/mpi-dotnet/files/Unsafe.pl.patch
new file mode 100644
index 0000000..3f28c2a
--- /dev/null
+++ b/sys-cluster/mpi-dotnet/files/Unsafe.pl.patch
@@ -0,0 +1,11 @@
+--- mpi.net-1.0.0.orig/MPI/Unsafe.pl 2009-02-03 23:55:48.000000000 +0100
++++ mpi.net-1.0.0/MPI/Unsafe.pl 2009-02-07 08:24:01.000000000 +0100
+@@ -96,7 +96,7 @@
+ }
+
+ # Grab the command-line arguments
+-$mpi_header=shift @ARGV;
++$mpi_header = (@ARGV > 3) ? shift @ARGV : "/usr/include/mpi.h";
+ $unsafe_input = shift @ARGV;
+ $unsafe_output = shift @ARGV;
+ $cbridge_output = shift @ARGV;
diff --git a/sys-cluster/mpi-dotnet/files/configure.ac.patch b/sys-cluster/mpi-dotnet/files/configure.ac.patch
new file mode 100644
index 0000000..2c69aa1
--- /dev/null
+++ b/sys-cluster/mpi-dotnet/files/configure.ac.patch
@@ -0,0 +1,22 @@
+--- mpi.net-1.0.0.orig/configure.ac 2009-02-03 23:55:46.000000000 +0100
++++ mpi.net-1.0.0/configure.ac 2009-02-06 21:59:21.000000000 +0100
+@@ -202,9 +202,16 @@
+ AM_CONDITIONAL(MPINET_CBRIDGE, test "$need_cbridge" = "yes")
+
+ dnl Variable substitutions
+-AC_SUBST(MCS ILASM MONO MPIEXEC PERL
+- CSHARP_FLAGS CSHARP_DEFINES MPI_HEADER
+- MPI_SHARED_LIB_NAME MPI_FUNC_PREFIX)
++AC_SUBST(MCS)
++AC_SUBST(ILASM)
++AC_SUBST(MONO)
++AC_SUBST(MPIEXEC)
++AC_SUBST(PERL)
++AC_SUBST(CSHARP_FLAGS)
++AC_SUBST(CSHARP_DEFINES)
++AC_SUBST(MPI_HEADER)
++AC_SUBST(MPI_SHARED_LIB_NAME)
++AC_SUBST(MPI_FUNC_PREFIX)
+
+ AC_CONFIG_FILES([MPI/MPI.dll.config Tests/runtest.sh],[],[])
+
diff --git a/sys-cluster/mpi-dotnet/metadata.xml b/sys-cluster/mpi-dotnet/metadata.xml
new file mode 100644
index 0000000..321e38f
--- /dev/null
+++ b/sys-cluster/mpi-dotnet/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>mabi@gentoo.org</email>
+ <name>Matti Bickel</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/sys-cluster/mpi-dotnet/mpi-dotnet-1.0.0.ebuild b/sys-cluster/mpi-dotnet/mpi-dotnet-1.0.0.ebuild
new file mode 100644
index 0000000..89587bc
--- /dev/null
+++ b/sys-cluster/mpi-dotnet/mpi-dotnet-1.0.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+WANT_AUTOTOOLS="2.5"
+inherit autotools mono
+
+# "." is not allowed as part of a package name
+MY_PN="mpi.net"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="C# bindings for various MPI-implementations"
+HOMEPAGE="http://www.osl.iu.edu/research/mpi.net"
+SRC_URI="http://www.osl.iu.edu/research/mpi.net/files/${PV}/${MY_P}.tar.gz"
+
+LICENSE="Boost"
+SLOT="0"
+KEYWORDS="~ppc"
+IUSE=""
+
+DEPEND="virtual/mpi
+ >=dev-lang/mono-2.0"
+RDEPEND="${DEPEND}"
+
+MPICC="${CC}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/configure.ac.patch"
+ epatch "${FILESDIR}/Makefile.am.patch"
+ epatch "${FILESDIR}/Unsafe.pl.patch"
+
+ # MPI/Makefile seems broken, fix it
+ eautoreconf
+}
+
+src_compile() {
+ # policy requires us to build shared and static libs alongside
+ econf --enable-shared --enable-static
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+}
+
+src_test() {
+ make check -k
+}