summaryrefslogtreecommitdiffstats
path: root/academic/meep/meep.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/meep/meep.SlackBuild')
-rw-r--r--academic/meep/meep.SlackBuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/academic/meep/meep.SlackBuild b/academic/meep/meep.SlackBuild
index bb3cb854d2..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,14 +113,9 @@ 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
-#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 +123,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}