summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-physics/mpb
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-physics/mpb')
-rw-r--r--sci-physics/mpb/Manifest1
-rw-r--r--sci-physics/mpb/files/mpb-1.4.2-autotools.patch262
-rw-r--r--sci-physics/mpb/files/mpb-1.4.2-guile18.patch12
-rw-r--r--sci-physics/mpb/files/mpb-1.4.2-headers.patch11
-rw-r--r--sci-physics/mpb/metadata.xml20
-rw-r--r--sci-physics/mpb/mpb-1.4.2-r2.ebuild127
6 files changed, 433 insertions, 0 deletions
diff --git a/sci-physics/mpb/Manifest b/sci-physics/mpb/Manifest
new file mode 100644
index 000000000000..5f52a99d8cbd
--- /dev/null
+++ b/sci-physics/mpb/Manifest
@@ -0,0 +1 @@
+DIST mpb-1.4.2.tar.gz 686488 SHA256 e44c0720a5969a879fb93e48f6098d4d87e2f99d6ef49711d822f4c2249ccd61 SHA512 4151612b8868b324353556f46aeccdce2726d8938ab8cf7404c36da68e90ec0de1799d4e23b2d5bbe5853d0c0329ba0ee1a2fdb2745aed43c34759084b62fbac WHIRLPOOL e0b256c06bdd2c7479723c0db6c434e645b6fbf1a052ebc2971203902f9bf09336b4bf69ec8c8f1cd9b4952672a28290b4ff66c44f56feae135d9cbf07284473
diff --git a/sci-physics/mpb/files/mpb-1.4.2-autotools.patch b/sci-physics/mpb/files/mpb-1.4.2-autotools.patch
new file mode 100644
index 000000000000..b6faf07d2bcf
--- /dev/null
+++ b/sci-physics/mpb/files/mpb-1.4.2-autotools.patch
@@ -0,0 +1,262 @@
+diff -Nur mpb-1.4.2.orig/configure.ac mpb-1.4.2/configure.ac
+--- mpb-1.4.2.orig/configure.ac 2003-03-04 02:38:41.000000000 +0000
++++ mpb-1.4.2/configure.ac 2008-11-25 17:31:12.000000000 +0000
+@@ -6,15 +6,8 @@
+ MPB_VERSION=1.4.2
+ AC_SUBST(MPB_VERSION)
+
+-AC_MSG_CHECKING([for vendor f77 to be used instead of g77])
+-AC_MSG_RESULT()
+-AC_CHECK_PROGS(F77, f77 xlf77 cf77 fort77 f90 xlf90)
+ AC_PROG_F77
+-
+-# Get C compiler.
+-AC_MSG_CHECKING([for vendor cc to be used instead of gcc])
+-AC_MSG_RESULT()
+-AC_CHECK_PROGS(CC, cc xlc) # prefer vendor cc, to stay in sync with Fortran
++AC_F77_WRAPPERS
+ AC_PROG_CC
+
+ # Checks for programs.
+@@ -79,12 +72,6 @@
+ echo "*********************** HERMITIAN EPS. ***********************"
+ fi
+
+-# Add lots of compiler warnings to check for if we are using gcc:
+-# (The variable $GCC is set to "yes" by AC_PROG_CC if we are using gcc.)
+-if test "$GCC" = "yes"; then
+- CFLAGS="$CFLAGS -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
+-fi
+-
+ ##############################################################################
+ # Checks for libraries:
+ ##############################################################################
+@@ -203,6 +190,10 @@
+ # how to run mpb-mpi in general
+ fi
+
++# Checks for header files.
++AC_HEADER_STDC
++AC_CHECK_HEADERS(unistd.h getopt.h)
++
+ ##############################################################################
+ # Check for HDF5 library
+ AC_ARG_WITH(hdf5, [AC_HELP_STRING([--without-hdf5],[do not use HDF5 output])], ok=$withval, ok=yes)
+@@ -349,9 +340,7 @@
+ ]], [AC_MSG_RESULT(ok)], [AC_MSG_ERROR([libctl version ${LIBCTL_MAJOR}.${LIBCTL_MINOR}.${LIBCTL_BUGFIX} or later is required])])
+
+ ##############################################################################
+-# Checks for header files.
+-AC_HEADER_STDC
+-AC_CHECK_HEADERS(unistd.h getopt.h)
++
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+diff -Nur mpb-1.4.2.orig/Makefile.in mpb-1.4.2/Makefile.in
+--- mpb-1.4.2.orig/Makefile.in 2002-01-18 22:52:41.000000000 +0000
++++ mpb-1.4.2/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,6 +2,9 @@
+
+ SHELL = @SHELL@
+
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
+ CC = @CC@
+ CFLAGS = @CFLAGS@
+ CPPFLAGS = @CPPFLAGS@
+diff -Nur mpb-1.4.2.orig/mpb-ctl/Makefile.in mpb-1.4.2/mpb-ctl/Makefile.in
+--- mpb-1.4.2.orig/mpb-ctl/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/mpb-ctl/Makefile.in 2008-11-25 18:23:20.000000000 +0000
+@@ -13,6 +13,12 @@
+
+ SHELL = @SHELL@
+
++mandir = @mandir@
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
+ ##############################################################################
+
+ # Makefile.in for programs using libctl (assumes that autoconf is
+@@ -37,8 +43,8 @@
+ ../src/util/util.a
+
+ MY_LDFLAGS = # extra -L flags go here
+-MY_CPPFLAGS = -I. -I../src/util -I../src/matrices -I../src/matrixio \
+- -I../src/maxwell
++MY_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio \
++ -I$(top_srcdir)/src/maxwell
+ MY_DEFS = -DHAVE_CTL_HOOKS=1 -DHAVE_CTL_EXPORT_HOOK=1
+
+ # The following variables should be detected and set by autoconf:
+@@ -134,11 +140,11 @@
+
+ install-mpb: $(PROGRAM_NAME)
+ $(INSTALL) -d $(prefix)/bin
+- $(INSTALL) -m 0755 -s .$(PROGRAM_NAME) $(prefix)/bin/`echo $(PROGRAM_NAME)|sed '$(transform)'`
++ $(INSTALL) -m 0755 .$(PROGRAM_NAME) $(prefix)/bin/`echo $(PROGRAM_NAME)|sed '$(transform)'`
+ $(INSTALL) -d $(prefix)/share/libctl/specs
+ $(INSTALL) -m 0644 $(SPECIFICATION_FILE) $(prefix)/share/libctl/specs
+ $(INSTALL) -d $(mandir)/man1
+- $(INSTALL) -m 0644 $(PROGRAM_NAME).1 $(mandir)/man1
++ $(INSTALL) -m 0644 $(srcdir)/$(PROGRAM_NAME).1 $(mandir)/man1
+
+ mpb-split-tmp:
+ rm -f mpb-split-tmp
+@@ -149,7 +155,7 @@
+ mpb_name=`echo mpb | sed '$(transform)'`; \
+ $(INSTALL) -m 0755 mpb-split-tmp $(prefix)/bin/$${mpb_name}-split
+ $(INSTALL) -d $(mandir)/man1
+- $(INSTALL) -m 0644 mpb-split.1 $(mandir)/man1
++ $(INSTALL) -m 0644 $(srcdir)/mpb-split.1 $(mandir)/man1
+
+ clean:
+ rm -f $(ALL_OBJECTS) ctl-io.c ctl-io.h main.c geom.c \
+diff -Nur mpb-1.4.2.orig/src/matrices/Makefile.in mpb-1.4.2/src/matrices/Makefile.in
+--- mpb-1.4.2.orig/src/matrices/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/matrices/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../util -I. @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(srcdir) -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/src/matrixio/Makefile.in mpb-1.4.2/src/matrixio/Makefile.in
+--- mpb-1.4.2.orig/src/matrixio/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/matrixio/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../util -I../matrices -I. @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(srcdir) -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/src/maxwell/Makefile.in mpb-1.4.2/src/maxwell/Makefile.in
+--- mpb-1.4.2.orig/src/maxwell/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/maxwell/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../util -I../matrices @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/src/util/Makefile.in mpb-1.4.2/src/util/Makefile.in
+--- mpb-1.4.2.orig/src/util/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/src/util/Makefile.in 2008-11-25 17:31:12.000000000 +0000
+@@ -2,9 +2,11 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I. @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir) -I. @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+diff -Nur mpb-1.4.2.orig/tests/Makefile.in mpb-1.4.2/tests/Makefile.in
+--- mpb-1.4.2.orig/tests/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/tests/Makefile.in 2008-11-25 17:31:58.000000000 +0000
+@@ -2,12 +2,14 @@
+
+ SHELL = @SHELL@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../src/util -I../src/matrices -I../src/maxwell @CPPFLAGS@
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/maxwell -I. @CPPFLAGS@
+ DEFS = @DEFS@
+-LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
++LDFLAGS = @LDFLAGS@
+ RANLIB = @RANLIB@
+ @SET_MAKE@
+
+@@ -15,11 +17,11 @@
+ ../src/matrices/matrices.a \
+ ../src/util/util.a
+
+-all: blastest eigs_test maxwell_test malloctest normal_vectors
++all:
+
+ libs:
+
+-check: all
++check: blastest eigs_test maxwell_test malloctest normal_vectors
+ rm -f blastest.out.test
+ ./blastest | sed 's/\-0\.000\([ ,)]\)/ 0.000\1/g' | sed 's/\-0\.000$$/ 0.000/g' > blastest.out.test
+ diff blastest.@SCALAR_TYPE@.out blastest.out.test
+diff -Nur mpb-1.4.2.orig/utils/Makefile.in mpb-1.4.2/utils/Makefile.in
+--- mpb-1.4.2.orig/utils/Makefile.in 2002-09-14 23:20:55.000000000 +0100
++++ mpb-1.4.2/utils/Makefile.in 2008-11-25 18:23:46.000000000 +0000
+@@ -1,13 +1,16 @@
+ # Variables substituted by the autoconf configure script:
+
+ SHELL = @SHELL@
++mandir = @mandir@
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
+
+-CC = @CC@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = -I../src/util -I../src/matrices -I../src/matrixio @CPPFLAGS@
++CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio -I. @CPPFLAGS@
+ DEFS = @DEFS@ -DMPB_VERSION='"'"@MPB_VERSION@"'"'
+-LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
++LDFLAGS=@LDFLAGS@
+ RANLIB = @RANLIB@
+ @SET_MAKE@
+
+@@ -36,9 +39,9 @@
+
+ install-mpb-data: mpb-data
+ $(INSTALL) -d $(prefix)/bin
+- $(INSTALL) -m 0755 -s mpb-data $(prefix)/bin/`echo mpb-data|sed '$(transform)'`
++ $(INSTALL) -m 0755 mpb-data $(prefix)/bin/`echo mpb-data|sed '$(transform)'`
+ $(INSTALL) -d $(mandir)/man1
+- $(INSTALL) -m 0644 mpb-data.1 $(mandir)/man1
++ $(INSTALL) -m 0644 $(srcdir)/mpb-data.1 $(mandir)/man1
+
+ clean:
+ rm -f mpb-data mpb-data.o core
diff --git a/sci-physics/mpb/files/mpb-1.4.2-guile18.patch b/sci-physics/mpb/files/mpb-1.4.2-guile18.patch
new file mode 100644
index 000000000000..9cb73a099b8b
--- /dev/null
+++ b/sci-physics/mpb/files/mpb-1.4.2-guile18.patch
@@ -0,0 +1,12 @@
+diff -Nur mpb-1.4.2.orig/mpb-ctl/field-smob.c mpb-1.4.2/mpb-ctl/field-smob.c
+--- mpb-1.4.2.orig/mpb-ctl/field-smob.c 2012-08-07 20:56:24.538452994 -0700
++++ mpb-1.4.2/mpb-ctl/field-smob.c 2012-08-07 20:56:43.713557380 -0700
+@@ -157,7 +157,7 @@
+ boolean cur_fieldp(SCM obj)
+ {
+ if (SCM_NIMP(obj) && SCM_SYMBOLP(obj)) {
+- char *s = gh_symbol2newstr(obj, NULL);
++ char *s = gh_symbol2newstr(obj);
+ int ret = !strcmp(s, "cur-field");
+ free(s);
+ return ret;
diff --git a/sci-physics/mpb/files/mpb-1.4.2-headers.patch b/sci-physics/mpb/files/mpb-1.4.2-headers.patch
new file mode 100644
index 000000000000..937e5fc373d4
--- /dev/null
+++ b/sci-physics/mpb/files/mpb-1.4.2-headers.patch
@@ -0,0 +1,11 @@
+diff -Nur mpb-1.4.2.orig/mpb-ctl/matrix-smob.c mpb-1.4.2/mpb-ctl/matrix-smob.c
+--- mpb-1.4.2.orig/mpb-ctl/matrix-smob.c 2002-09-13 19:27:35.000000000 +0100
++++ mpb-1.4.2/mpb-ctl/matrix-smob.c 2008-11-25 18:20:11.000000000 +0000
+@@ -17,6 +17,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <math.h>
+
+ #include "../src/config.h"
+
diff --git a/sci-physics/mpb/metadata.xml b/sci-physics/mpb/metadata.xml
new file mode 100644
index 000000000000..1b9dacc2cdfa
--- /dev/null
+++ b/sci-physics/mpb/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-physics</herd>
+ <longdescription lang="en">
+ The MIT Photonic-Bands (MPB) package is a program for computing
+ the band structures (dispersion relations) and electromagnetic modes of
+ periodic dielectric structures, on both serial and parallel computers. It was
+ developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics
+ group.
+ This program computes definite-frequency eigenstates of Maxwell's
+ equations in periodic dielectric structures for arbitrary wavevectors, using
+ fully-vectorial and three-dimensional methods. It is especially
+ designed for the study of photonic crystals (a.k.a. photonic
+ band-gap materials), but is also applicable to many other problems
+ in optics, such as waveguides and resonator systems.
+ (For example, it can solve for the modes of waveguides with arbitrary
+ cross-sections.)
+</longdescription>
+</pkgmetadata>
diff --git a/sci-physics/mpb/mpb-1.4.2-r2.ebuild b/sci-physics/mpb/mpb-1.4.2-r2.ebuild
new file mode 100644
index 000000000000..7eb255b57e63
--- /dev/null
+++ b/sci-physics/mpb/mpb-1.4.2-r2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="Photonic band structure program"
+SRC_URI="http://ab-initio.mit.edu/mpb/${P}.tar.gz"
+HOMEPAGE="http://ab-initio.mit.edu/mpb/"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples hdf5 mpi"
+
+SLOT="0"
+
+RDEPEND="virtual/lapack
+ dev-scheme/guile
+ sci-libs/libctl
+ sci-libs/fftw:2.1[mpi?]
+ sys-libs/readline
+ hdf5? ( sci-libs/hdf5 )
+ mpi? ( virtual/mpi )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-autotools.patch \
+ "${FILESDIR}"/${P}-guile18.patch \
+ "${FILESDIR}"/${P}-headers.patch
+ cd "${S}"
+ eautoreconf
+ # version with inversion symmetry (mpbi).
+ cp -r "${S}" "${S}_inv" || die
+ # version with hermitian eps (mpbh).
+ cp -r "${S}" "${S}_herm" || die
+ # mpi versions (mpb-mpi).
+ if use mpi; then
+ cp -r "${S}" "${S}_mpi" || die
+ cp -r "${S}" "${S}_inv_mpi" || die
+ cp -r "${S}" "${S}_herm_mpi" || die
+ fi
+ tc-export CC
+}
+
+src_configure() {
+ # enable legacy API for hdf-1.8
+ use hdf5 && append-cflags -DH5_USE_16_API
+ #
+ local myconf=(
+ --with-libctl="${EPREFIX}/usr/share/libctl"
+ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
+ --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
+ $(use_with hdf5)
+ )
+
+ econf "${myconf[@]}"
+
+ cd "${S}_inv"
+ econf "${myconf[@]}" \
+ --with-inv-symmetry
+
+ cd "${S}_herm"
+ econf "${myconf[@]}" \
+ --with-hermitian-eps
+
+ if use mpi; then
+ cd "${S}_mpi"
+ econf "${myconf[@]}" \
+ --with-mpi
+ cd "${S}_inv_mpi"
+ econf "${myconf[@]}" \
+ --with-inv-symmetry \
+ --with-mpi
+ cd "${S}_herm_mpi"
+ econf "${myconf[@]}" \
+ --with-hermitian-eps \
+ --with-mpi \
+ CC=mpicc
+ fi
+}
+
+src_compile() {
+ local d
+ for d in . _inv _herm; do
+ cd "${S}${d}"
+ emake -C mpb-ctl ctl-io.c
+ emake
+ done
+ if use mpi; then
+ for d in . _inv _herm; do
+ cd "${S}${d}_mpi"
+ emake -C mpb-ctl ctl-io.c CC=mpicc
+ emake CC=mpicc LD=mpicc
+ done
+ fi
+}
+
+src_install() {
+ einstall
+ dodoc README NEWS AUTHORS COPYRIGHT ChangeLog TODO
+ use doc && dohtml doc/*
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r mpb-ctl/examples
+ fi
+
+ newbin "${S}_inv"/mpb-ctl/.mpb mpbi
+ newbin "${S}_herm"/mpb-ctl/.mpb mpbh
+
+ einfo "Several versions of mpb have been installed:"
+ einfo "mpb : regular version"
+ einfo "mpbi: configured for inversion symmetry"
+ einfo "mpbh: configured for hermitian epsilon"
+ if use mpi; then
+ newbin "${S}_mpi"/mpb-ctl/.mpb mpb-mpi
+ newbin "${S}_inv_mpi"/mpb-ctl/.mpb mpbh-mpi
+ newbin "${S}_herm_mpi"/mpb-ctl/.mpb mpbi-mpi
+ einfo "mpb-mpi : regular version with mpi"
+ einfo "mpbi-mpi: configured for inversion symmetry with mpi"
+ einfo "mpbh-mpi: configured for hermitian epsilon with mpi"
+ fi
+}