mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/ngspice: Updated for version 37.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
adadceff38
commit
1dace3a26f
2 changed files with 13 additions and 11 deletions
|
@ -9,7 +9,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=ngspice
|
||||
VERSION=${VERSION:-36}
|
||||
VERSION=${VERSION:-37}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -117,7 +117,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
|
|||
|
||||
cp -a \
|
||||
ANALYSES AUTHORS BUGS COPYING ChangeLog DEVICES FAQ \
|
||||
INSTALL NEWS README* examples/ \
|
||||
NEWS README* examples/ \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
@ -125,11 +125,13 @@ 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.2 \
|
||||
"$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.2"
|
||||
install -Dm755 ./release/src/.libs/libngspice.so.0.0.4 \
|
||||
"$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.4"
|
||||
|
||||
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"
|
||||
strip -s $PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so.0.0.4
|
||||
|
||||
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"
|
||||
|
||||
# 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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="ngspice"
|
||||
VERSION="36"
|
||||
VERSION="37"
|
||||
HOMEPAGE="http://ngspice.sourceforge.net/"
|
||||
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="https://sourceforge.net/projects/ngspice/files/ng-spice-rework/37/ngspice-37.tar.gz \
|
||||
https://sourceforge.net/projects/ngspice/files/ng-spice-rework/37/ngspice-37-manual.pdf"
|
||||
MD5SUM="88af0394c4695d04e982792832eff520 \
|
||||
06a6e963436425389320391015eb60e8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="openmpi"
|
||||
|
|
Loading…
Reference in a new issue