summaryrefslogtreecommitdiff
path: root/academic/ngspice/ngspice.SlackBuild
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2022-08-25 12:02:41 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-27 22:50:29 +0700
commit1dace3a26fc0523cce39e4885ccf75915ce789e7 (patch)
tree931b35af63a99c2a5de186bbc9392452003cb6ee /academic/ngspice/ngspice.SlackBuild
parentadadceff38c841693aa9a997626864d49023faeb (diff)
downloadslackbuilds-1dace3a26fc0523cce39e4885ccf75915ce789e7.tar.gz
academic/ngspice: Updated for version 37.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/ngspice/ngspice.SlackBuild')
-rw-r--r--academic/ngspice/ngspice.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index e8bc20f348..2bfb055f4c 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -9,7 +9,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ngspice
-VERSION=${VERSION:-36}
+VERSION=${VERSION:-37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -117,7 +117,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a \
ANALYSES AUTHORS BUGS COPYING ChangeLog DEVICES FAQ \
- INSTALL NEWS README* examples/ \
+ NEWS README* examples/ \
$PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -125,11 +125,13 @@ cat $CWD/$PRGNAM-$VERSION-manual.pdf \
> $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-$VERSION-manual.pdf
# The shared library enabled by "--with-ngshared"
-install -Dm755 ./release/src/.libs/libngspice.so.0.0.2 \
- "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.2"
+install -Dm755 ./release/src/.libs/libngspice.so.0.0.4 \
+ "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.4"
-ln -s "libngspice.so.0.0.2" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0"
-ln -s "libngspice.so.0.0.2" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so"
+strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.4
+
+ln -s "libngspice.so.0.0.4" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0"
+ln -s "libngspice.so.0.0.4" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so"
# The include file needed to use the shared library enabled by "--with-ngshared"
install -Dm644 ./src/include/ngspice/sharedspice.h $PKG/usr/include/ngspice/sharedspice.h