summaryrefslogtreecommitdiffstats
path: root/academic/ngspice/ngspice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ngspice/ngspice.SlackBuild')
-rw-r--r--academic/ngspice/ngspice.SlackBuild14
1 files changed, 7 insertions, 7 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