aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2024-01-24 09:02:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-24 09:28:39 +0700
commit34e63db167b291b5676ba95f5288462b3f62407e (patch)
tree5a41273956748d7742e8bb6edb8049d933a8ffaf /academic
parent5feaca04028e4afad4ffa75353b2079a649d7e73 (diff)
academic/ngspice: Updated for version 42.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/ngspice/ngspice.SlackBuild16
-rw-r--r--academic/ngspice/ngspice.info10
2 files changed, 12 insertions, 14 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index 1614d2b79b8b..6edf8a8503d8 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -9,7 +9,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ngspice
-VERSION=${VERSION:-41}
+VERSION=${VERSION:-42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -125,18 +122,19 @@ 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.8 \
- "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.8"
+install -Dm755 ./release/src/.libs/libngspice.so.0.0.9 \
+ "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.9"
-strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.8
+strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.9
-ln -s "libngspice.so.0.0.8" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0"
-ln -s "libngspice.so.0.0.8" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so"
+ln -s "libngspice.so.0.0.9" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0"
+ln -s "libngspice.so.0.0.9" "$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 $TMP/$PRGNAM-$VERSION/release/src/include/ngspice/config.h $PKG/usr/include/ngspice/
+chmod 644 $PRGNAM-$VERSION/usr/doc/ngspice-42/examples/klu/Circuits/libraries/*.lib
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 e11cf80e83b3..d7fa1f244999 100644
--- a/academic/ngspice/ngspice.info
+++ b/academic/ngspice/ngspice.info
@@ -1,10 +1,10 @@
PRGNAM="ngspice"
-VERSION="41"
+VERSION="42"
HOMEPAGE="http://ngspice.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/41/ngspice-41.tar.gz \
- https://sourceforge.net/projects/ngspice/files/ng-spice-rework/41/ngspice-41-manual.pdf"
-MD5SUM="5f95f3e17405ce9ebcf213786ce73708 \
- 8d9db24f2f786fa8d14ad265b971ac24"
+DOWNLOAD="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ngspice-42.tar.gz \
+ https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ngspice-42-manual.pdf"
+MD5SUM="84ab9e67127f9732639195dd63b98a5e \
+ f1b1bf8a0bd18af216cbe0ccdbacb47f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""