From f0541ace450cc69754eb13f2e56d67be10ee619b Mon Sep 17 00:00:00 2001 From: bluedevil Date: Tue, 29 Sep 2020 06:40:31 +0200 Subject: [PATCH] ngspice: new rel --- science/electronics/ngspice/actions.py | 32 ++++++++++ science/electronics/ngspice/pspec.xml | 66 ++++++++++++++++++++ science/electronics/ngspice/translations.xml | 15 +++++ 3 files changed, 113 insertions(+) create mode 100644 science/electronics/ngspice/actions.py create mode 100644 science/electronics/ngspice/pspec.xml create mode 100644 science/electronics/ngspice/translations.xml diff --git a/science/electronics/ngspice/actions.py b/science/electronics/ngspice/actions.py new file mode 100644 index 0000000000..18bfb9ca41 --- /dev/null +++ b/science/electronics/ngspice/actions.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import autotools + +def setup(): + options_cfg = ''.join([ + '--prefix=/usr ', + '--enable-cider ', + '--enable-openmp ', + '--enable-xspice ', + '--with-ngshared ', + '--enable-oldapps ', + '--with-readline=yes ', + '--mandir=/usr/share/man ', + ]) + autotools.configure("%s" % options_cfg) + + # fix unused direct dependency analysis + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("COPYING", "README*") diff --git a/science/electronics/ngspice/pspec.xml b/science/electronics/ngspice/pspec.xml new file mode 100644 index 0000000000..0b32ba6d15 --- /dev/null +++ b/science/electronics/ngspice/pspec.xml @@ -0,0 +1,66 @@ + + + + + ngspice + http://ngspice.sourceforge.net/ + + Blue Devil + bluedevil@sctzine.com + + science.electronics + BSD + app:console + library + Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice. + ngspice is the open source spice simulator for electric and electronic circuits. + https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/32/ngspice-32.tar.gz + + libXaw-devel + libedit-devel + ncurses-devel + readline-devel + + + + + ngspice + Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice + + libXaw + libedit + libgomp + ncurses + readline + + + /usr/lib + /usr/share/doc + /usr/share/man + /usr/bin + /usr/share/ngspice + + + + + ngspice-devel + Development files for ngspice + + ngspice + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-09-28 + 32 + First Pisi Release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/science/electronics/ngspice/translations.xml b/science/electronics/ngspice/translations.xml new file mode 100644 index 0000000000..9dc78065ba --- /dev/null +++ b/science/electronics/ngspice/translations.xml @@ -0,0 +1,15 @@ + + + + ngspice + Spice3f5, Ciber1b1, ve Xspice temelli, karma-seviye ve karma-sinyal devre simülatörü. + ngspice, karma-seviye ve karma-sinyal devre simülatörü araçları ve kitaplık dosyaları içerir. + + + + + ngspice-devel + ngspice için geliştirme dosyaları + ngspice-devel, ngspice için geliştirme dosyalarını içerir. + + \ No newline at end of file