Browse Source

academic/ngspice: Updated for version 43.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/229/head
R. S. Ananda Murthy 1 year ago
committed by Willy Sudiarto Raharjo
parent
commit
f97d51da9a
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 14
      academic/ngspice/ngspice.SlackBuild
  2. 10
      academic/ngspice/ngspice.info

14
academic/ngspice/ngspice.SlackBuild

@ -9,7 +9,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ngspice
VERSION=${VERSION:-42}
VERSION=${VERSION:-43}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -122,19 +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.9 \
"$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.9"
install -Dm755 ./release/src/.libs/libngspice.so.0.0.10 \
"$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.10"
strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.9
strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.10
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"
ln -s "libngspice.so.0.0.10" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0"
ln -s "libngspice.so.0.0.10" "$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 $PKG/usr/doc/ngspice-42/examples/klu/Circuits/libraries/*.lib
#chmod 644 $PKG/usr/doc/ngspice-42/examples/klu/Circuits/libraries/*.lib
install -Dm644 $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png

10
academic/ngspice/ngspice.info

@ -1,10 +1,10 @@
PRGNAM="ngspice"
VERSION="42"
VERSION="43"
HOMEPAGE="http://ngspice.sourceforge.net/"
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="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/43/ngspice-43.tar.gz \
https://sourceforge.net/projects/ngspice/files/ng-spice-rework/43/ngspice-43-manual.pdf"
MD5SUM="2ea2bc0dec693a843c4bdf1bf1e5ec6b \
f5da2c70a6e93e224f9fd5cbb643101a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

Loading…
Cancel
Save