From f1cf001ec54ada19ec71c53608c66bca50ddd471 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 11 Oct 2020 16:53:28 -0400 Subject: academic/meep: Fix README, slack-desc. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- academic/meep/README | 30 ++++++++++++++++-------------- academic/meep/meep.SlackBuild | 8 -------- academic/meep/slack-desc | 2 ++ 3 files changed, 18 insertions(+), 22 deletions(-) (limited to 'academic/meep') diff --git a/academic/meep/README b/academic/meep/README index 7c2f438e1d..66bd1ed80d 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 bb3cb854d2..2aa5dec402 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 3a624bb611..8187e87c47 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: -- cgit v1.2.3