diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2005-05-24 23:29:04 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2005-05-24 23:29:04 +0000 |
commit | 9cd1aaefd5fd03fbb22093b51c6e48c078d04d81 (patch) | |
tree | 25cd066db8a9c2028e94af50839d27891455e037 /sys-cluster/mpich | |
parent | Added a few more multilib-strict violators (diff) | |
download | historical-9cd1aaefd5fd03fbb22093b51c6e48c078d04d81.tar.gz historical-9cd1aaefd5fd03fbb22093b51c6e48c078d04d81.tar.bz2 historical-9cd1aaefd5fd03fbb22093b51c6e48c078d04d81.zip |
(#43358) Set datadir to /usr/share/mpich so machines.LINUX et al show up in the right place.
Diffstat (limited to 'sys-cluster/mpich')
-rw-r--r-- | sys-cluster/mpich/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/mpich/Manifest | 8 | ||||
-rw-r--r-- | sys-cluster/mpich/files/digest-mpich-1.2.6-r1 | 1 | ||||
-rw-r--r-- | sys-cluster/mpich/mpich-1.2.6-r1.ebuild | 136 |
4 files changed, 150 insertions, 4 deletions
diff --git a/sys-cluster/mpich/ChangeLog b/sys-cluster/mpich/ChangeLog index 3c4f56d620f4..df7ddf2df6e0 100644 --- a/sys-cluster/mpich/ChangeLog +++ b/sys-cluster/mpich/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-cluster/mpich # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/ChangeLog,v 1.18 2005/05/03 18:40:07 omkhar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/ChangeLog,v 1.19 2005/05/24 23:29:04 spyderous Exp $ + +*mpich-1.2.6-r1 (24 May 2005) + + 24 May 2005; Donnie Berkholz <spyderous@gentoo.org>; + +mpich-1.2.6-r1.ebuild: + (#43358) Set datadir to /usr/share/mpich so machines.LINUX et al show up in + the right place. 03 May 2005; Omkhar Arasaratnam <omkhar@gentoo.org> mpich-1.2.6.ebuild: Added ~ppc64 diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest index 8f84999d2d33..1201a0923ef5 100644 --- a/sys-cluster/mpich/Manifest +++ b/sys-cluster/mpich/Manifest @@ -1,7 +1,9 @@ +MD5 b842515b14433aa59d1193dc7bae8dee ChangeLog 2514 +MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 MD5 98a487c171803a3afbb88e803d5fb8ff mpich-1.2.5.2.ebuild 3168 +MD5 46459e79277b4b34741b29ec919f2c24 mpich-1.2.6-r1.ebuild 3575 MD5 17b0d0810cd7241bbb236ae64bf69598 mpich-1.2.6.ebuild 3386 -MD5 4b2175c39538e9debc65303d1b9be971 ChangeLog 2301 -MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 -MD5 049b041ef984698a3827b0f24e11669e files/digest-mpich-1.2.6 65 MD5 11a56e15994b5f4fe1ae37ebde20fa50 files/digest-mpich-1.2.5.2 67 +MD5 049b041ef984698a3827b0f24e11669e files/digest-mpich-1.2.6 65 MD5 e878381a3b6165630ef1a8b3989076c8 files/1.2.6-fix-romio-sandbox-breakage.patch 690 +MD5 049b041ef984698a3827b0f24e11669e files/digest-mpich-1.2.6-r1 65 diff --git a/sys-cluster/mpich/files/digest-mpich-1.2.6-r1 b/sys-cluster/mpich/files/digest-mpich-1.2.6-r1 new file mode 100644 index 000000000000..537b23d89d79 --- /dev/null +++ b/sys-cluster/mpich/files/digest-mpich-1.2.6-r1 @@ -0,0 +1 @@ +MD5 dbf6ea0b5717bbf88851e5bd36aed644 mpich-1.2.6.tar.gz 15248688 diff --git a/sys-cluster/mpich/mpich-1.2.6-r1.ebuild b/sys-cluster/mpich/mpich-1.2.6-r1.ebuild new file mode 100644 index 000000000000..031f7ce5f7dc --- /dev/null +++ b/sys-cluster/mpich/mpich-1.2.6-r1.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/mpich-1.2.6-r1.ebuild,v 1.1 2005/05/24 23:29:04 spyderous Exp $ + +inherit eutils + +# Set the MPICH_CONFIGURE_OPTS environment variable to change the signal +# mpich listens on or any other custom options (#38207). +# The default USR1 conflicts with pthreads. Options include SIGUSR2 and SIGBUS. +# For example: MPICH_CONFIGURE_OPTS="--with-device=ch_p4:-listener_sig=SIGBUS" + +DESCRIPTION="MPICH - A portable MPI implementation" +HOMEPAGE="http://www-unix.mcs.anl.gov/mpi/mpich" +SRC_URI="ftp://ftp.mcs.anl.gov/pub/mpi/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64 ~ppc64" +IUSE="doc crypt" + +DEPEND="virtual/libc + sys-devel/autoconf + sys-devel/automake + sys-devel/libtool" +RDEPEND="${DEPEND} + crypt? ( net-misc/openssh ) + !crypt? ( net-misc/netkit-rsh ) + !sys-cluster/lam-mpi" + +pkg_setup() { + if [ -n "${MPICH_CONFIGURE_OPTS}" ]; then + einfo "Custom configure options are ${MPICH_CONFIGURE_OPTS}." + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + grep -FrlZ '$(P) ' . | xargs -0 sed -i -e 's/\$(P)//' + + # Fix broken romio + epatch ${FILESDIR}/${PV}-fix-romio-sandbox-breakage.patch + cd ${S}/romio + rm configure + autoreconf --install --verbose +} + +src_compile() { + local RSHCOMMAND + + if use crypt; then + RSHCOMMAND="ssh -x" + else + RSHCOMMAND="rsh" + fi + + export RSHCOMMAND + + local myconf="${myconf} ${MPICH_CONFIGURE_OPTS}" + + ./configure \ + ${myconf} \ + --mandir=/usr/share/man \ + --prefix=/usr \ + --datadir=/usr/share/mpich || die + make || die +} + +src_install() { + dodir /usr/sbin + + # mpich install process is really weird, need to do some hand work perhaps + + # to skip installation of man pages, uncomment following line + # export MPIINSTALL_OPTS=-noman + + ./bin/mpiinstall -echo -prefix=${D}/usr || die + + if use doc; then + dodir /usr/share/doc/${PF} + mv ${D}/usr/doc/* ${D}/usr/share/doc/${PF} + fi + rm -rf ${D}/usr/doc/ + + dodir /etc/mpich + mv ${D}/usr/etc/* ${D}/etc/mpich/ + rmdir ${D}/usr/etc/ + + dodir /usr/share/${PN} + mv ${D}/usr/examples ${D}/usr/share/${PN}/examples1 + mv ${D}/usr/share/examples ${D}/usr/share/${PN}/examples2 + + # rm -rf ${D}/usr/local + rm -f ${D}/usr/man/mandesc + + mv ${D}/usr/share/{machines*,jumpshot-3,Makefile.sample,upshot} ${D}/usr/share/${PN} + + dodoc COPYRIGHT README + use doc && \ + mv ${D}/usr/www ${D}/usr/share/doc/${PF}/html || \ + rm -rf ${D}/usr/www + + # Dont let users deinstall without portage + rm ${D}/usr/sbin/mpiuninstall + + # We dont have a real DESTDIR, so we have to fix all the files + dosed /usr/bin/mpirun /usr/bin/mpiman /usr/sbin/tstmachines + dosed /usr/sbin/chkserv /usr/sbin/chp4_servs + dosed /usr/bin/mpicc /usr/bin/mpiCC /usr/bin/logviewer + dosed /usr/bin/mpireconfig /usr/bin/mpireconfig.dat + dosed /usr/bin/mpereconfig /usr/bin/mpereconfig.dat + + dosed /usr/share/mpich/examples1/Makefile + dosed /usr/share/mpich/examples2/Makefile + dosed /usr/share/mpich/jumpshot-3/bin/jumpshot + dosed /usr/share/mpich/jumpshot-3/bin/slog_print + dosed /usr/share/mpich/Makefile.sample + dosed /usr/share/mpich/upshot/bin/upshot + + # those are dangling symlinks + rm -f \ + ${D}/usr/share/mpich/examples1/mpirun \ + ${D}/usr/share/mpich/examples2/mpirun + + mv ${D}/usr/man ${D}/usr/share/man + prepallman + + #FIXME: Here, we should either clean the empty directories + # or use keepdir to make sure they stick around. +} + +pkg_postinst() { + einfo "The data directory has moved from /usr/share" + einfo "to /usr/share/mpich." + einfo "Remeber to move your machines.* files." +} |