aboutsummaryrefslogtreecommitdiff
path: root/academic/slatec
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /academic/slatec
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/slatec')
-rw-r--r--academic/slatec/slatec.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/academic/slatec/slatec.SlackBuild b/academic/slatec/slatec.SlackBuild
index ddbb312c885ca..58f41b06336c1 100644
--- a/academic/slatec/slatec.SlackBuild
+++ b/academic/slatec/slatec.SlackBuild
@@ -11,12 +11,10 @@ TAG=${TAG:-_SBo}
SRCVERSION=${VERSION}-4
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -40,7 +38,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -60,10 +58,10 @@ v1=$(echo $VERSION | cut -d. -f1)
v2=$VERSION
make MA_N=${v1} MI_N=${v2} OPT="$SLKCFLAGS -std=legacy" F77="gfortran" CC="gcc"
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-cp -a libslatec.a $PKG/usr/lib${LIBDIRSUFFIX}
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+cp -a libslatec.a $PKG/usr/lib${LIBDIRSUFFIX}
cp -a libslatec.so.$v2 $PKG/usr/lib${LIBDIRSUFFIX}
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
+( cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -s libslatec.so.$v2 libslatec.so.$v1
ln -s libslatec.so.$v2 libslatec.so
)