summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2022-03-31 18:52:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:18:57 +0700
commita00dfa85a09d0f93a0f0130ec0d590ae283acc71 (patch)
tree8ec2ba0b7e048ab108fee6419fc8fd1dbc6cbb3b /academic
parentdb40f3f15c037129fda3ddca8324582b9d0ce60e (diff)
downloadslackbuilds-a00dfa85a09d0f93a0f0130ec0d590ae283acc71.tar.gz
academic/ngspice: Updated for version 36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/ngspice/ngspice.SlackBuild14
-rw-r--r--academic/ngspice/ngspice.info10
2 files changed, 12 insertions, 12 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index 471f9d9241..e8bc20f348 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -9,8 +9,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ngspice
-VERSION=${VERSION:-34}
-BUILD=${BUILD:-5}
+VERSION=${VERSION:-36}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -125,16 +125,16 @@ 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.0 \
- "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.0"
+install -Dm755 ./release/src/.libs/libngspice.so.0.0.2 \
+ "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.2"
-ln -s "libngspice.so.0.0.0" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0"
-ln -s "libngspice.so.0.0.0" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so"
+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"
# 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
# Move the configure output file.
-mv $PKG/usr/include/config.h $PKG/usr/include/ngspice/
+mv $TMP/$PRGNAM-$VERSION/release/src/include/ngspice/config.h $PKG/usr/include/ngspice/
install -Dm644 $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
diff --git a/academic/ngspice/ngspice.info b/academic/ngspice/ngspice.info
index 3025233277..607252830b 100644
--- a/academic/ngspice/ngspice.info
+++ b/academic/ngspice/ngspice.info
@@ -1,10 +1,10 @@
PRGNAM="ngspice"
-VERSION="34"
+VERSION="36"
HOMEPAGE="http://ngspice.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/old-releases/34/ngspice-34.tar.gz \
- https://sourceforge.net/projects/ngspice/files/ng-spice-rework/old-releases/34/ngspice-34-manual.pdf"
-MD5SUM="e88377ff1e5a466dcd240fa235de7551 \
- ea1bfad9fccd20d58007898bc5f5a15d"
+DOWNLOAD="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/36/ngspice-36.tar.gz \
+ https://sourceforge.net/projects/ngspice/files/ng-spice-rework/36/ngspice-36-manual.pdf"
+MD5SUM="9c34c41bfeaf8b5c530357344b3777a7 \
+ 0e30dbf0eeffc11de98c1a0a7722fc46"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openmpi"