diff options
Diffstat (limited to 'academic/ngspice/ngspice.SlackBuild')
-rw-r--r-- | academic/ngspice/ngspice.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild index 2bfb055f4c..db12c3aab6 100644 --- a/academic/ngspice/ngspice.SlackBuild +++ b/academic/ngspice/ngspice.SlackBuild @@ -9,7 +9,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ngspice -VERSION=${VERSION:-37} +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.4 \ - "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.4" +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.4 +strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.9 -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" +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 $PKG/usr/doc/ngspice-42/examples/klu/Circuits/libraries/*.lib install -Dm644 $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png |