diff options
author | B. Watson <yalhcru@gmail.com> | 2020-10-11 16:53:28 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-17 09:36:49 +0700 |
commit | f1cf001ec54ada19ec71c53608c66bca50ddd471 (patch) | |
tree | 950cfefcd0e242922fdd72439375dd1b12d4a4bc /academic/meep | |
parent | 78eea3ae2de3cb9f7ce2698df57905870e2e8b22 (diff) |
academic/meep: Fix README, slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/meep')
-rw-r--r-- | academic/meep/README | 30 | ||||
-rw-r--r-- | academic/meep/meep.SlackBuild | 8 | ||||
-rw-r--r-- | academic/meep/slack-desc | 2 |
3 files changed, 18 insertions, 22 deletions
diff --git a/academic/meep/README b/academic/meep/README index 7c2f438e1de1f..66bd1ed80d645 100644 --- a/academic/meep/README +++ b/academic/meep/README @@ -19,24 +19,26 @@ interface will not build without it. Configuration: -If the build script can find the ATLAS libraries, it will adapt the configure -options to use them, rather than the the default choice of lapack. +If the build script can find the ATLAS libraries, it will adapt the +configure options to use them, rather than the the default choice of +lapack. -You can add additional options to the command line using the environment -variable SBOPTIONS_MEEP; e.g. to enable MPI (multi-processor calculation) -using openmp, use: +You can add additional options to the command line using +the environment variable SBOPTIONS_MEEP; e.g. to enable MPI +(multi-processor calculation) using openmp, use: SBOPTIONS_MEEP="--with-openmp" ./meep.Slackbuild -Alternatively, if building non-interactively (e.g. if using slpkg), use/create -the file /etc/sbo_pkg_options.conf since this slackbuild script will search it -for options. Simply include a line starting "meep:" followed by options, e.g.: +Alternatively, if building non-interactively (e.g. if using slpkg), +use/create the file /etc/sbo_pkg_options.conf since this slackbuild +script will search it for options. Simply include a line starting +"meep:" followed by options, e.g.: meep: --with-openmp -Currently, building the python support for meep can be problematic unless -the mpb package is also installed; if you do so, and (e.g.) use openmp, it is -best to build mpb with the same option. You may also need to install mpi4py -using pip. If you do not want python support, specify "--without-python", -and in this case installing mpb is not necessary. - +Currently, building the python support for meep can be problematic +unless the mpb package is also installed; if you do so, and (e.g.) use +openmp, it is best to build mpb with the same option. You may also +need to install mpi4py using pip. If you do not want python support, +specify "--without-python", and in this case installing mpb is not +necessary. diff --git a/academic/meep/meep.SlackBuild b/academic/meep/meep.SlackBuild index bb3cb854d2b13..2aa5dec402748 100644 --- a/academic/meep/meep.SlackBuild +++ b/academic/meep/meep.SlackBuild @@ -119,10 +119,6 @@ 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 -#find $PKG/usr/man -type f -exec gzip -9 {} \; -#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -130,9 +126,5 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -if [ -f $CWD/doinst.sh ] ; then - cat $CWD/doinst.sh > $PKG/install/doinst.sh -fi - cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/meep/slack-desc b/academic/meep/slack-desc index 3a624bb611eca..8187e87c47186 100644 --- a/academic/meep/slack-desc +++ b/academic/meep/slack-desc @@ -15,3 +15,5 @@ meep: applications. meep: meep: Homepage: https://github.com/NanoComp/meep meep: +meep: +meep: |