summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-27 18:55:12 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-27 18:55:12 +0000
commit3877183d9c5e9f81db0f37c47f5c45e01c49dfeb (patch)
treeb5ec8c97eb6e0a78d85dfc93572c8e2a9cb77985 /sci-electronics/chipmunksystem
parentMoving to sci-electronics/chipmunksystem (diff)
downloadhistorical-3877183d9c5e9f81db0f37c47f5c45e01c49dfeb.tar.gz
historical-3877183d9c5e9f81db0f37c47f5c45e01c49dfeb.tar.bz2
historical-3877183d9c5e9f81db0f37c47f5c45e01c49dfeb.zip
Moved from app-sci/chipmunksystem to sci-electronics/chipmunksystem.
Diffstat (limited to 'sci-electronics/chipmunksystem')
-rw-r--r--sci-electronics/chipmunksystem/ChangeLog42
-rw-r--r--sci-electronics/chipmunksystem/Manifest4
-rw-r--r--sci-electronics/chipmunksystem/chipmunksystem-20031105-r2.ebuild164
-rw-r--r--sci-electronics/chipmunksystem/files/digest-chipmunksystem-20031105-r210
-rw-r--r--sci-electronics/chipmunksystem/metadata.xml15
5 files changed, 235 insertions, 0 deletions
diff --git a/sci-electronics/chipmunksystem/ChangeLog b/sci-electronics/chipmunksystem/ChangeLog
new file mode 100644
index 000000000000..3b5bdfa8e929
--- /dev/null
+++ b/sci-electronics/chipmunksystem/ChangeLog
@@ -0,0 +1,42 @@
+# ChangeLog for app-sci/chipmunksystem
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/chipmunksystem/ChangeLog,v 1.1 2004/12/27 18:55:12 ribosome Exp $
+
+*chipmunksystem-20031105-r2 (27 Dec 2004)
+
+ 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +chipmunksystem-20031105-r2.ebuild:
+ Moved from app-sci/chipmunksystem to sci-electronics/chipmunksystem.
+
+*chipmunksystem-20031105-r2 (31 Oct 2004)
+
+ 31 Oct 2004; Olivier Fisette <ribosome@gentoo.org>
+ -chipmunksystem-20031105-r1.ebuild, +chipmunksystem-20031105-r2.ebuild,
+ -chipmunksystem-20031105.ebuild:
+ Removed obsolete versions. Fixed gcc invocation (bug #68992).
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ chipmunksystem-20031105-r1.ebuild, chipmunksystem-20031105.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 25 May 2004; David Holm <dholm@gentoo.org>
+ chipmunksystem-20031105-r1.ebuild:
+ Added to ~ppc.
+
+*chipmunksystem-20031105-r1 (19 May 2004)
+
+ 19 May 2004; Patrick Kursawe <phosphan@gentoo.org>
+ chipmunksystem-20031105-r1.ebuild:
+ Fixes bug #51329: chipmunksystem (analog/diglog) crashes on startup trying
+ to get log.gate out of /usr/share/chipmunksystem-20031105/lib/.
+ Added virtual/x11 dependency.
+ done by Olivier Fisette <olivier.fisette@sympatico.ca>
+
+*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/sci-electronics/chipmunksystem/Manifest b/sci-electronics/chipmunksystem/Manifest
new file mode 100644
index 000000000000..85c4ef9e4941
--- /dev/null
+++ b/sci-electronics/chipmunksystem/Manifest
@@ -0,0 +1,4 @@
+MD5 508383a021bbc4df1f429b0de40fb4bb chipmunksystem-20031105-r2.ebuild 7171
+MD5 4220afcdc000f0837904e6bbf279588b ChangeLog 1422
+MD5 1dcb0747dd1f7e019ea2f25fda22a47f metadata.xml 789
+MD5 cf5a2760cdc84d7675cd1d540a040eb5 files/digest-chipmunksystem-20031105-r2 616
diff --git a/sci-electronics/chipmunksystem/chipmunksystem-20031105-r2.ebuild b/sci-electronics/chipmunksystem/chipmunksystem-20031105-r2.ebuild
new file mode 100644
index 000000000000..971238d3d990
--- /dev/null
+++ b/sci-electronics/chipmunksystem/chipmunksystem-20031105-r2.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/chipmunksystem/chipmunksystem-20031105-r2.ebuild,v 1.1 2004/12/27 18:55:12 ribosome Exp $
+
+inherit toolchain-funcs
+
+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 ~ppc"
+
+IUSE=""
+
+DEPEND="virtual/libc
+ virtual/x11"
+
+src_compile() {
+
+ local COMPILING_ERROR
+ COMPILING_ERROR="Compiling of ${P} FAILED"
+ cd ${WORKDIR}
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux:' \
+ -e 's:^LIBX11.*:LIBX11 = -lX11 -L/usr/X11R6/lib:' \
+ -e "s:^LOGLIBDIR.*:LOGLIBDIR = /usr/share/${P}/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 = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i wolcomp/Makefile || die "sed failed in wolcomp"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = $(tc-getCC) ${CFLAGS}:" \
+ -e 's:^CHIPMUNKFLAGS.*:CHIPMUNKFLAGS = -DBSD -Dlinux -DF_OK=0:' \
+ -i netcmp/Makefile || die "sed failed in netcmp"
+ sed -e "s:^CHIPMUNKCC.*:CHIPMUNKCC = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${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 = $(tc-getCC) ${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/${P}/lib
+ cp -a log/lib/* ${D}/usr/share/${P}/lib
+ cp -a view/lib/* ${D}/usr/share/${P}/lib
+ dodir /usr/share/${P}/until/designrules
+ cp -a until/designrules/* ${D}/usr/share/${P}/until/designrules
+ cp until/V1.2/*.ff ${D}/usr/share/${P}/until
+ dodir /usr/share/${P}/netcmp
+ cp netcmp/*.ntk ${D}/usr/share/${P}/netcmp
+ dodir /usr/share/doc/${P}/html
+ cp -a webdoc/* ${D}/usr/share/doc/${P}/html
+
+ #**** Example file taken out,
+ # uncomment the line below if this is resolved
+ # (refer to SRC_URI)
+ #cp -a example ${D}/usr/share/${P}
+
+ 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/sci-electronics/chipmunksystem/files/digest-chipmunksystem-20031105-r2 b/sci-electronics/chipmunksystem/files/digest-chipmunksystem-20031105-r2
new file mode 100644
index 000000000000..760d2c50ef00
--- /dev/null
+++ b/sci-electronics/chipmunksystem/files/digest-chipmunksystem-20031105-r2
@@ -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/sci-electronics/chipmunksystem/metadata.xml b/sci-electronics/chipmunksystem/metadata.xml
new file mode 100644
index 000000000000..925a19ebe9e4
--- /dev/null
+++ b/sci-electronics/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>