summaryrefslogtreecommitdiff
path: root/academic/meep/meep.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/meep/meep.SlackBuild')
-rw-r--r--academic/meep/meep.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/academic/meep/meep.SlackBuild b/academic/meep/meep.SlackBuild
index 2aa5dec402..114680d8ec 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