mpb stable port information

Package: mpb
Version: 1.4.2
Revision: 1028
Maintainer: Aurelien Chanudet
GCC: 4.0
Depends: hdf5-shlibs, fftw-shlibs, gmp-shlibs, gcc46-shlibs, guile18-shlibs, guile18-libs, libctl, libtool14-shlibs
BuildDepends: hdf5, fftw, gmp, guile18-dev, gcc46, libctl, libtool14, fink (>= 0.24.12-1)
BuildConflicts: g95, g77
Source: http://ab-initio.mit.edu/mpb/%n-%v.tar.gz
Source-MD5: e1e618b0db343a7a3fc38eabd69d008b
PatchFile: %n.patch
PatchFile-MD5: e0496d1a388ca1972a8c6df5875eefe1
UseMaxBuildJobs: false
ConfigureParams: --mandir=%i/share/man --with-libctl=%p/share/libctl --with-blas="-framework vecLib" --with-lapack="-framework vecLib" F77=gfortran CC=gcc-4 FLIBS='-lgfortranbegin -lgfortran'
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/share/guile/1.8/scripts/binoverride:$PATH
./configure %c
make
<<
DocFiles: AUTHORS COPYING COPYRIGHT ChangeLog NEWS README doc mpb-ctl/examples
Description: Compute band structures of photonic crystals
DescDetail: <<
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. It was written by Steven G.
Johnson.
<<
Homepage: http://ab-initio.mit.edu/mpb/
License: GPL

mpb stable port .patch

--- mpb-1.4.2/configure.orig Sat Dec 20 10:48:37 2003
+++ mpb-1.4.2/configure Sat Dec 20 10:50:56 2003
@@ -7321,7 +7321,7 @@
# Check for Guile library and flags:

# Extract the first word of "guile", so it can be a program name with args.
-set dummy guile; ac_word=$2
+set dummy guile-1.8; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_guile_ok+set}" = set; then
@@ -7363,7 +7363,7 @@
fi

# Extract the first word of "guile-config", so it can be a program name with args.
-set dummy guile-config; ac_word=$2
+set dummy guile-1.8-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_HAVE_GUILE_CONFIG+set}" = set; then
@@ -7399,8 +7399,8 @@
fi

if test "$HAVE_GUILE_CONFIG" = "yes"; then
- CPPFLAGS="$CPPFLAGS `guile-config compile`"
- LIBS="`guile-config link` $LIBS"
+ CPPFLAGS="$CPPFLAGS `guile-1.8-config compile`"
+ LIBS="`guile-1.8-config link` $LIBS"
echo "$as_me:$LINENO: checking if linking to guile works" >&5
echo $ECHO_N "checking if linking to guile works... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
@@ -7938,13 +7938,13 @@
echo "$as_me:$LINENO: checking how to activate readline in Guile" >&5
echo $ECHO_N "checking how to activate readline in Guile... $ECHO_C" >&6
ractivate="(use-modules (readline-activator)) (activate-readline)"
-if guile -c "$ractivate" > /dev/null 2>&1; then
+if guile-1.8 -c "$ractivate" > /dev/null 2>&1; then
echo "$as_me:$LINENO: result: readline-activator" >&5
echo "${ECHO_T}readline-activator" >&6
ACTIVATE_READLINE="$ractivate"
else
ractivate="(use-modules (ice-9 readline)) (activate-readline)"
- if guile -c "$ractivate" > /dev/null 2>&1; then
+ if guile-1.8 -c "$ractivate" > /dev/null 2>&1; then
echo "$as_me:$LINENO: result: ice-9 readline" >&5
echo "${ECHO_T}ice-9 readline" >&6
ACTIVATE_READLINE="$ractivate"

mpb _unstable_ port .patch