mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/ng-spice: Removed from tree (dupe with ngspice).
ng-spice was a dupe of ngspice, which is the maintained entry. Thanks to David Koenig for the heads-up.
This commit is contained in:
parent
2f85138703
commit
1f6dad54e3
4 changed files with 0 additions and 110 deletions
|
@ -1,4 +0,0 @@
|
|||
Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is based on
|
||||
three open source software packages: Spice3f5, Cider1b1 and Xspice. Ngspice
|
||||
is part of gEDA project, a full GPL'd suite of Electronic Design Automation
|
||||
tools.
|
|
@ -1,77 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for ng-spice
|
||||
# Written by Kyle Guinn <elyk03@gmail.com>
|
||||
|
||||
PRGNAM="ng-spice"
|
||||
VERSION="rework_17"
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM-$VERSION
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
SRCVER=$(echo $VERSION | sed s/_/-/)
|
||||
|
||||
DOCS="ANALYSES AUTHORS BUGS COPYING ChangeLog \
|
||||
DEVICES FAQ INSTALL NEWS README doc/ngspice.pdf"
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar -xzvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||
cd $PRGNAM-$SRCVER
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-st .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-readline \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l); do \
|
||||
ln -s $(readlink $i).gz $i.gz; rm $i; \
|
||||
done
|
||||
)
|
||||
|
||||
rm -f $PKG/usr/info/dir
|
||||
gzip -9 $PKG/usr/info/*.info*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="ng-spice"
|
||||
VERSION="rework_17"
|
||||
HOMEPAGE="http://ngspice.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/ngspice/ng-spice-rework-17.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="abe283dea98b913a2122f085076865b1"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Kyle Guinn"
|
||||
EMAIL="elyk03@gmail.com"
|
||||
APPROVED="Erik Hanson"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler---------------------------------------------------|
|
||||
ng-spice: Ngspice (circuit simulator)
|
||||
ng-spice:
|
||||
ng-spice: Ngspice is a mixed-level/mixed-signal circuit simulator. Its
|
||||
ng-spice: code is based on three open source software packages: Spice3f5,
|
||||
ng-spice: Cider1b1 and Xspice. Ngspice is part of gEDA project, a full
|
||||
ng-spice: GPL'd suite of Electronic Design Automation tools.
|
||||
ng-spice:
|
||||
ng-spice:
|
||||
ng-spice:
|
||||
ng-spice:
|
||||
ng-spice:
|
Loading…
Reference in a new issue