aboutsummaryrefslogtreecommitdiff
path: root/academic/meep
diff options
context:
space:
mode:
authorPaulKinsler <dr.paul@kinsler.org>2021-01-30 09:19:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-30 09:19:18 +0700
commit79762b6bd8c4ce90d323047c54b3278bc5814e70 (patch)
tree818207484c0200420852d4a313063dc613f6fcfa /academic/meep
parentfd2558c3b12802a09e702ec1ae123e469316a44f (diff)
academic/meep: Updated for version 1.17.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/meep')
-rw-r--r--academic/meep/README4
-rw-r--r--academic/meep/meep.SlackBuild11
-rw-r--r--academic/meep/meep.info6
3 files changed, 8 insertions, 13 deletions
diff --git a/academic/meep/README b/academic/meep/README
index 66bd1ed80d645..a0623df2ccabf 100644
--- a/academic/meep/README
+++ b/academic/meep/README
@@ -4,9 +4,7 @@ Meep is a free and open-source software package for electromagnetics
simulation via the finite-difference time-domain (FDTD) method spanning
a broad range of applications. It saves results in hdf5 format.
-This package requires: hdf5, libctl, lapack, mpb
-
-You probably will also want to preinstall: harminv
+You probably will also want to preinstall: harminv, openmpi
You may wish to also install: h5utils
diff --git a/academic/meep/meep.SlackBuild b/academic/meep/meep.SlackBuild
index 2aa5dec402748..114680d8ec36d 100644
--- a/academic/meep/meep.SlackBuild
+++ b/academic/meep/meep.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=meep
-VERSION=${VERSION:-1.14}
+VERSION=${VERSION:-1.17.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,14 +75,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# if there is no configure script, try to build one!
-if [ ! -f ./configure ] ; then
+if [ ! -f ./configure ] ; then
./autogen.sh
fi
-
LOCALCONFIGS=
XDBFILE=/etc/sbo_pkg_options.conf
-if [ -f ${XDBFILE} ] ; then
+if [ -f ${XDBFILE} ] ; then
LOCALCONFIGS=${LOCALCONFIGS}" "$(grep "^${PRGNAM}:" ${XDBFILE} | grep -v '^#' | awk -F: '{print$2}')
echo Build options selected by file: LOCALCONFIGS=${LOCALCONFIGS}
fi
@@ -91,8 +90,7 @@ if [ -n "${SBOPTIONS_MEEP}" ] ; then
echo Build options selected by environment: LOCALCONFIGS=${LOCALCONFIGS}
fi
-
-# check for the Atlas replacement for blas; if the libraries are found,
+# check for the Atlas replacement for blas; if the libraries are found,
# add the configure option accordingly
if [ -f /usr/lib/libatlas.a ] ; then
@@ -115,7 +113,6 @@ CPPFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/academic/meep/meep.info b/academic/meep/meep.info
index bf739dd8b6ef3..8faea2fd0f172 100644
--- a/academic/meep/meep.info
+++ b/academic/meep/meep.info
@@ -1,8 +1,8 @@
PRGNAM="meep"
-VERSION="1.14"
+VERSION="1.17.1"
HOMEPAGE="https://github.com/NanoComp/meep"
-DOWNLOAD="https://github.com/NanoComp/meep/releases/download/v1.14.0/meep-1.14.tar.gz"
-MD5SUM="46875840eb7fc7267d9defe041eeb91e"
+DOWNLOAD="https://github.com/NanoComp/meep/releases/download/v1.17.1/meep-1.17.1.tar.gz"
+MD5SUM="657ecf1fa5459c73fdddd749dd81ec04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lapack hdf5 libctl mpb"