summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-05-17 13:25:12 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-05-17 13:25:12 +0000
commitcfd779b56b57fc9807f8c97297148af3ad135c9e (patch)
treea60dc428bb3cf2863c9177d8ab869d7dc7024a17 /app-sci
parentadded fix for compiling the new frandom ssp.c with gcc 3.4 (Manifest recommit) (diff)
downloadgentoo-2-cfd779b56b57fc9807f8c97297148af3ad135c9e.tar.gz
gentoo-2-cfd779b56b57fc9807f8c97297148af3ad135c9e.tar.bz2
gentoo-2-cfd779b56b57fc9807f8c97297148af3ad135c9e.zip
See bug #24509
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/chipmunksystem/ChangeLog12
-rw-r--r--app-sci/chipmunksystem/Manifest3
-rw-r--r--app-sci/chipmunksystem/chipmunksystem-20031105.ebuild161
-rw-r--r--app-sci/chipmunksystem/files/digest-chipmunksystem-2003110510
-rw-r--r--app-sci/chipmunksystem/metadata.xml15
5 files changed, 201 insertions, 0 deletions
diff --git a/app-sci/chipmunksystem/ChangeLog b/app-sci/chipmunksystem/ChangeLog
new file mode 100644
index 000000000000..a94f804af379
--- /dev/null
+++ b/app-sci/chipmunksystem/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-sci/chipmunksystem
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/chipmunksystem/ChangeLog,v 1.1 2004/05/17 13:25:12 phosphan Exp $
+
+*chipmunksystem-20031105 (17 May 2004)
+
+ 17 May 2004; Patrick Kursawe <phosphan@gentoo.org>
+ chipmunksystem-20031105.ebuild, metadata.xml:
+ Initial ebuild by Herton R. Krzesinski <herton@brturbo.com> and
+ olivier.fisette@sympatico.ca with little modifications by phosphan@gentoo.org.
+ See bug #24509.
+
diff --git a/app-sci/chipmunksystem/Manifest b/app-sci/chipmunksystem/Manifest
new file mode 100644
index 000000000000..fd818c3657cc
--- /dev/null
+++ b/app-sci/chipmunksystem/Manifest
@@ -0,0 +1,3 @@
+MD5 eab416e0253fe88a83f58306e35a9472 chipmunksystem-20031105.ebuild 6905
+MD5 1dcb0747dd1f7e019ea2f25fda22a47f metadata.xml 789
+MD5 cf5a2760cdc84d7675cd1d540a040eb5 files/digest-chipmunksystem-20031105 616
diff --git a/app-sci/chipmunksystem/chipmunksystem-20031105.ebuild b/app-sci/chipmunksystem/chipmunksystem-20031105.ebuild
new file mode 100644
index 000000000000..7e69588e5a99
--- /dev/null
+++ b/app-sci/chipmunksystem/chipmunksystem-20031105.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/chipmunksystem/chipmunksystem-20031105.ebuild,v 1.1 2004/05/17 13:25:12 phosphan Exp $
+
+DESCRIPTION="Chipmunk System - circuit schematic and simulation environment"
+
+HOMEPAGE="http://www.cs.berkeley.edu/~lazzaro/chipmunk/"
+
+#This is a complete install of Chipmunk Tools, even with examples, but doesn't have
+#XCircuit (that can be installed with emerge xcircuit) and xnf-tools (see the HOMEPAGE
+#for details)
+SRC_URI="http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/webdoc-1.47.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/psys-1.58.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/log-5.62.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/view-1.14.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/until-1.14.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/wol-1.14.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/wolcomp-1.14.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/netcmp-1.13.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/mosis-1.14.tar.gz
+ http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/util-1.11.tar.gz"
+#For while I have to take out this source:
+#http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/examples.tar.gz
+#It's a file with examples for chipmunk, it conflicts with other examples.tar.gz
+#file found in Gentoo Mirrors
+
+LICENSE="GPL-1"
+SLOT="0"
+
+#ARCH: I only tested on x86, it's the only platform I have access, but it's
+# supposed to work on other platforms, see HOMEPAGE
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ local COMPILING_ERROR
+ COMPILING_ERROR="Compiling of ${P} FAILED"
+ cd ${WORKDIR}
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -e 's:^LIB .*:LIB = \$\(LIBDIR\)/libp2c.a:' \
+ -i psys/src/Makefile || die "sed failed in psys/src"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i log/src/ana/Makefile || die "sed failed in log/src/ana"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux:' \
+ -e 's:^LIBX11.*:LIBX11 = -lX11 -L/usr/X11R6/lib:' \
+ -e "s:^LOGLIBDIR.*:LOGLIBDIR = /usr/share/${PF}/lib:" \
+ -e 's:^LIBDIR.*:LIBDIR = ../lib:' \
+ -e 's:^LIBP2C.*:LIBP2C = ../../lib/libp2c.a:' \
+ -i log/src/Makefile || die "sed failed in log/src"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux:' \
+ -e 's:^LIBX11.*:LIBX11 = -lX11 -L/usr/X11R6/lib:' \
+ -e 's:^LIBP2C.*:LIBP2C = ../lib/libp2c.a:' \
+ -i view/Makefile || die "sed failed in view"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux:' \
+ -e 's:^LIBX11.*:LIBX11 = -lX11 -L/usr/X11R6/lib:' \
+ -e 's:^LIBP2C.*:LIBP2C = ../../lib/libp2c.a:' \
+ -i until/V1.2/Makefile || die "sed failed in until/V1.2"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -e 's:^LIBX11.*:LIBX11 = -lX11 -L/usr/X11R6/lib:' \
+ -e 's:^LIBP2C.*:LIBP2C = ../lib/libp2c.a:' \
+ -i wol/Makefile || die "sed failed in wol"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i wolcomp/Makefile || die "sed failed in wolcomp"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i netcmp/Makefile || die "sed failed in netcmp"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -e 's:^LIBX11.*:LIBX11 = -lX11 -L/usr/X11R6/lib:' \
+ -i mosis/Makefile || die "sed failed in mosis"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CFLAGS.*:CFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i util/boxify/Makefile || die "sed failed in util/boxify"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CFLAGS.*:CFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i util/boxify/trapes/Makefile || die "sed failed in util/boxify/trapes"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CFLAGS.*:CFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i util/cleancif/Makefile || die "sed failed in util/cleancif"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CFLAGS.*:CFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i util/sctomat/Makefile || die "sed failed in util/sctomat"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CFLAGS.*:CFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i util/spc-tools/sf/Makefile || die "sed failed in util/spc-tools/sf"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = gcc ${CFLAGS}:" \
+ -e 's:^CFLAGS.*:CFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i util/spc-tools/ss/Makefile || die "sed failed in util/spc-tools/ss"
+
+ for dir in psys/src log/src view until/V1.2 wol wolcomp netcmp mosis \
+ util util/spc-tools; do
+ pushd ${dir}
+ make install || die $COMPILING_ERROR
+ popd
+ done
+}
+
+src_install () {
+
+ cd ${WORKDIR}
+
+ dobin bin/*
+ dolib lib/*
+ dolib wolcomp/wolcomp.a
+
+ dodir /usr/share/${PN}/lib
+ cp -a log/lib/* ${D}/usr/share/${PN}/lib
+ cp -a view/lib/* ${D}/usr/share/${PN}/lib
+ dodir /usr/share/${PN}/until/designrules
+ cp -a until/designrules/* ${D}/usr/share/${PN}/until/designrules
+ cp until/V1.2/*.ff ${D}/usr/share/${PN}/until
+ dodir /usr/share/${PN}/netcmp
+ cp netcmp/*.ntk ${D}/usr/share/${PN}/netcmp
+ dodir /usr/share/doc/${PF}/html
+ cp -a webdoc/* ${D}/usr/share/doc/${PF}/html
+
+ #**** Example file taken out,
+ # uncomment the line below if this is resolved
+ # (refer to SRC_URI)
+ #cp -a example ${D}/usr/share/${PN}
+
+ dodoc log/src/LNOTES util/sctomat/doc/scope_to_mat.ps
+ newdoc log/src/COPYING COPYING.log
+ newdoc log/README README.log
+ newdoc mosis/COPYING COPYING.mosis
+ newdoc mosis/README README.mosis
+ newdoc netcmp/COPYING COPYING.netcmp
+ newdoc netcmp/README README.netcmp
+ newdoc psys/src/COPYING COPYING.psys
+ newdoc psys/src/README README.psys
+ newdoc until/V1.2/COPYING COPYING.until
+ newdoc until/README README.until
+ newdoc util/boxify/COPYING COPYING.boxify
+ newdoc util/cleancif/COPYING COPYING.cleancif
+ newdoc util/cleancif/README README.cleancif
+ newdoc util/conscripts/COPYING COPYING.conscripts
+ newdoc util/conscripts/README README.conscripts
+ newdoc util/sctomat/README README.sctomat
+ newdoc util/spc-tools/COPYING COPYING.spc-tools
+ newdoc util/spc-tools/README README.spc-tools
+ newdoc util/README README.util
+ newdoc view/COPYING COPYING.view
+ newdoc view/README README.view
+ newdoc wol/COPYING COPYING.wol
+ newdoc wol/README README.wol
+ newdoc wolcomp/COPYING COPYING.wolcomp
+ newdoc wolcomp/README README.wolcomp
+ doman util/boxify/boxify.1
+
+}
diff --git a/app-sci/chipmunksystem/files/digest-chipmunksystem-20031105 b/app-sci/chipmunksystem/files/digest-chipmunksystem-20031105
new file mode 100644
index 000000000000..760d2c50ef00
--- /dev/null
+++ b/app-sci/chipmunksystem/files/digest-chipmunksystem-20031105
@@ -0,0 +1,10 @@
+MD5 38310e3bb2672b674c75a13c002c74cc webdoc-1.47.tar.gz 1416718
+MD5 7e83c91e5c6574cad7478906ece6ca31 psys-1.58.tar.gz 202975
+MD5 6cf93f7923c4da30a214465ee2baf9a1 log-5.62.tar.gz 1596168
+MD5 dc75cbc39d10b8a515aeaf6ed3962046 view-1.14.tar.gz 359473
+MD5 2e4cefe1305c80e15dec0f7989c8eda4 until-1.14.tar.gz 141467
+MD5 2ab676624c5771104f3b7ddd8cbabab2 wol-1.14.tar.gz 324674
+MD5 c3c35fad428ae0059b3aff1ddb642f12 wolcomp-1.14.tar.gz 22224
+MD5 50558d4a2791cab30a1a5e5d719b62ee netcmp-1.13.tar.gz 137728
+MD5 4cb7791bb6144b878d2dced2febe75b7 mosis-1.14.tar.gz 40775
+MD5 47f48f6fd638aac0251de82be097236d util-1.11.tar.gz 74075
diff --git a/app-sci/chipmunksystem/metadata.xml b/app-sci/chipmunksystem/metadata.xml
new file mode 100644
index 000000000000..925a19ebe9e4
--- /dev/null
+++ b/app-sci/chipmunksystem/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription>
+ The software tools in the Chipmunk system perform a wide variety of tasks:
+ electronic circuit simulation and schematic capture, graphics editing, and
+ curve plotting, to name a few. Here is a brief description of each of the
+ Chipmunk tools. Log is a graphical environment for entering circuit
+ schematics, and for analog and digital circuit simulation. View is a tool for
+ manipulating and plotting data. Until is a graphics editor. Wol is a tool for
+ creating integrated circuit layout. In addition to these major tools, many
+ supplementary tools are part of the Chipmunk system.
+ </longdescription>
+</pkgmetadata>