academic/meep: Updated for version 1.17.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
PaulKinsler 2021-01-30 09:19:18 +07:00 committed by Willy Sudiarto Raharjo
parent fd2558c3b1
commit 79762b6bd8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 8 additions and 13 deletions

View file

@ -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

View file

@ -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

View file

@ -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"