diff options
Diffstat (limited to 'academic/ngspice')
-rw-r--r-- | academic/ngspice/ngspice.SlackBuild | 29 | ||||
-rw-r--r-- | academic/ngspice/ngspice.info | 14 | ||||
-rw-r--r-- | academic/ngspice/ngspice.png | bin | 0 -> 6882 bytes |
3 files changed, 30 insertions, 13 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild index a6be504fea..f26a847ed9 100644 --- a/academic/ngspice/ngspice.SlackBuild +++ b/academic/ngspice/ngspice.SlackBuild @@ -2,11 +2,12 @@ # Slackware build script for ngspice # Written by B. Jogai <jogaib {at} comcast [dot] net> +# Now maintained by R. S. Ananda Murthy (rsamurti@gmail.com) # Set initial variables: PRGNAM=ngspice -VERSION=${VERSION:-25} +VERSION=${VERSION:-26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -85,15 +86,16 @@ CFLAGS="$SLKCFLAGS" \ --enable-numparam \ --enable-shared \ --disable-static \ + --enable-x \ + --enable-ndev \ --build=$ARCH-slackware-linux - make make DESTDIR=$PKG install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; @@ -102,10 +104,25 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples cp -a ANALYSES AUTHORS BUGS COPYING ChangeLog DEVICES FAQ \ INSTALL NEWS README* ../$PRGNAM-doc-$VERSION/*.pdf examples/ \ - xgraph/examples/ \ - $PKG/usr/doc/$PRGNAM-$VERSION/ - + xgraph/examples/ $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps +install -m644 $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png + +mkdir -p $PKG/usr/share/applications +cat <<EOF > $PKG/usr/share/applications/$PRGNAM.desktop +[Desktop Entry] +Encoding=UTF-8 +Name=Ngspice +Comment=A mixed-level/mixed-signal circuit simulator +Exec=ngspice +Terminal=true +Type=Application +Categories=Other +Icon=ngspice +StartupNotify=true +EOF + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/ngspice/ngspice.info b/academic/ngspice/ngspice.info index c2999e3153..49aaa227ae 100644 --- a/academic/ngspice/ngspice.info +++ b/academic/ngspice/ngspice.info @@ -1,12 +1,12 @@ PRGNAM="ngspice" -VERSION="25" +VERSION="26" HOMEPAGE="http://ngspice.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/ngspice/files/ngspice-25.tar.gz \ - http://sourceforge.net/projects/ngspice/files/ngspice-doc-25.tar.gz" -MD5SUM="0a2c9f377c5da827f774c7b4f9248231 \ - 0e97d62444577ee186f2481f16b27db8" +DOWNLOAD="http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/26/ngspice-26.tar.gz \ + http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/26/ngspice-doc-26.tar.gz" +MD5SUM="7fd9cdd11b1bb109eb48201222de4c50 \ + 6a2acfe2574798dac9d3844dd1750dbb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="B. Jogai" -EMAIL="jogaib <at> comcast {dot} net" +MAINTAINER="R. S. Ananda Murthy" +EMAIL="rsamurti@gmail.com" diff --git a/academic/ngspice/ngspice.png b/academic/ngspice/ngspice.png Binary files differnew file mode 100644 index 0000000000..83b6452559 --- /dev/null +++ b/academic/ngspice/ngspice.png |