mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
academic/meep: Fix README, slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
78eea3ae2d
commit
f1cf001ec5
3 changed files with 18 additions and 22 deletions
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -15,3 +15,5 @@ meep: applications.
|
|||
meep:
|
||||
meep: Homepage: https://github.com/NanoComp/meep
|
||||
meep:
|
||||
meep:
|
||||
meep:
|
||||
|
|
Loading…
Reference in a new issue