summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-27 20:20:51 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-27 20:20:51 +0000
commit2c18d3230d5906c61ac55d871f9189c86ffc1dd5 (patch)
treeae71a6da0d8a04cb39c766406e4f33aec8f49159 /sci-electronics/spice
parentMoving to sci-electronics/spice (diff)
downloadgentoo-2-2c18d3230d5906c61ac55d871f9189c86ffc1dd5.tar.gz
gentoo-2-2c18d3230d5906c61ac55d871f9189c86ffc1dd5.tar.bz2
gentoo-2-2c18d3230d5906c61ac55d871f9189c86ffc1dd5.zip
Moved from app-sci/spice to sci-electronics/spice.
Diffstat (limited to 'sci-electronics/spice')
-rw-r--r--sci-electronics/spice/ChangeLog38
-rw-r--r--sci-electronics/spice/Manifest4
-rw-r--r--sci-electronics/spice/files/digest-spice-3.5.51
-rw-r--r--sci-electronics/spice/metadata.xml5
-rw-r--r--sci-electronics/spice/spice-3.5.5.ebuild52
5 files changed, 100 insertions, 0 deletions
diff --git a/sci-electronics/spice/ChangeLog b/sci-electronics/spice/ChangeLog
new file mode 100644
index 000000000000..0b8b8e57bc76
--- /dev/null
+++ b/sci-electronics/spice/ChangeLog
@@ -0,0 +1,38 @@
+# ChangeLog for app-sci/spice
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/spice/ChangeLog,v 1.1 2004/12/27 20:20:51 ribosome Exp $
+
+*spice-3.5.5 (27 Dec 2004)
+
+ 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +spice-3.5.5.ebuild:
+ Moved from app-sci/spice to sci-electronics/spice.
+
+ 23 Oct 2004; Simon Stelling <blubb@gentoo.org> spice-3.5.5.ebuild:
+ added ~amd64
+
+ 21 Aug 2004; David Holm <dholm@gentoo.org> spice-3.5.5.ebuild:
+ Added to ~ppc.
+
+ 30 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; spice-3.5.5.ebuild:
+ Change x11-base/xfree dependency to virtual/x11.
+
+ 07 May 2003; George Shapovalov <george@gentoo.org> spice-3.5.5.ebuild :
+ Added x11-base/xfree to DEPEND, see bug #19904
+
+ 28 Apr 2003; George Shapovalov <george@gentoo.org> spice-3.5.5.ebuild :
+ Few cosmetic touches + added IUSE; made ebuild honor EDITOR setting on
+ user system
+
+*spice-3.5.5 (7 Aug 2002)
+
+ 07 Aug 2002; George Shapovalov <george@gentoo.org> spice-3.5.5.ebuild, files/digest-spice-3.5.5:
+
+ SPICE 3 is a general-purpose circuit simulation program for nonlinear dc,
+ nonlinear transient, and linear ac analyses. Circuits may contain resistors,
+ capacitors, inductors, mutual inductors, independent voltage and current
+ sources, four types of dependent sources, transmission lines, and the four
+ most common semiconductor devices: diodes, BJT's, JFET's, and MOSFET's. This
+ version includes support for the Bsim3 model (V3.1).
+
+ Ebuild submitted by: Chris Bainbridge <chrb@dcs.ed.ac.uk>
diff --git a/sci-electronics/spice/Manifest b/sci-electronics/spice/Manifest
new file mode 100644
index 000000000000..364e2f165659
--- /dev/null
+++ b/sci-electronics/spice/Manifest
@@ -0,0 +1,4 @@
+MD5 76ab8a8a0a7c3758201113fd0249ddc1 ChangeLog 1417
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 e7f671d5bfd63b9cc8e5d7c537bbb63f spice-3.5.5.ebuild 1275
+MD5 95e9084323d2adf97b66193093ed2262 files/digest-spice-3.5.5 65
diff --git a/sci-electronics/spice/files/digest-spice-3.5.5 b/sci-electronics/spice/files/digest-spice-3.5.5
new file mode 100644
index 000000000000..3ff5101991a1
--- /dev/null
+++ b/sci-electronics/spice/files/digest-spice-3.5.5
@@ -0,0 +1 @@
+MD5 b4a86690d2d56db3045a27ff75245356 spice3f5sfix.tar.gz 1377263
diff --git a/sci-electronics/spice/metadata.xml b/sci-electronics/spice/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-electronics/spice/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-electronics/spice/spice-3.5.5.ebuild b/sci-electronics/spice/spice-3.5.5.ebuild
new file mode 100644
index 000000000000..378426952607
--- /dev/null
+++ b/sci-electronics/spice/spice-3.5.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/spice/spice-3.5.5.ebuild,v 1.1 2004/12/27 20:20:51 ribosome Exp $
+
+IUSE=""
+
+MY_P="spice3f5sfix"
+DESCRIPTION="general-purpose circuit simulation program"
+HOMEPAGE="http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/"
+SRC_URI="http://www.ibiblio.org/pub/Linux/apps/circuits/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~amd64"
+
+DEPEND="sys-libs/ncurses
+ virtual/x11"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/conf
+ [ -z $EDITOR ] || EDITOR="vim"
+# cp linux{,.orig}
+ sed -e "s:termcap:ncurses:g" \
+ -e "s:joe:${EDITOR}:g" \
+ -e "s:-O2 -s:${CFLAGS}:g" \
+ -e "s:SPICE_DIR)/lib:SPICE_DIR)/lib/spice:g" \
+ -e "s:/usr/local/spice:/usr:g" \
+ -i.orig linux
+}
+
+src_compile() {
+ ./util/build linux || die
+ obj/bin/makeidx lib/helpdir/spice.txt || die
+}
+
+src_install() {
+ cd ${S}
+ # install binaries
+ dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod}
+ newbin obj/bin/help spice.help
+ dosym /usr/bin/spice3 /usr/bin/spice
+ # install runtime stuff
+ rm -f lib/make*
+ dodir /usr/lib/spice
+ cp -R lib/* ${D}/usr/lib/spice/
+ # install docs
+ doman man/man1/*.1
+ dodoc readme readme.Linux notes/spice2
+}