# ChangeLog for sci-electronics/gnucap
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.32 2007/02/13 20:06:27 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.33 2007/02/27 12:31:28 calchan Exp $
+
+*gnucap-0.35.20070221 (27 Feb 2007)
+
+ 27 Feb 2007; Denis Dupeyron <calchan@gentoo.org>
+ +gnucap-0.35.20070221.ebuild:
+ New snapshot, with all spice3f5, ngspice and official BSIM models as plugins.
13 Feb 2007; Denis Dupeyron <calchan@gentoo.org> gnucap-20060708.ebuild,
gnucap-20060830.ebuild:
DIST gnucap-0.35.tar.gz 1008736 RMD160 96a3f62ef9e082bb5bf113af86f1372d2896791e SHA1 fa4da0ca4a36ca509d00b7c7286ffb8a008ceaaf SHA256 820bd9e32be5b1a4422744c19b371616ace70f48f00768b8afe373f9ded1516b
DIST gnucap-2006-07-08.tar.gz 1546670 RMD160 8006dffd189095b81dbf7358caacea870bc054df SHA1 dafdfa1f78ee37b247066ccac7a2e63f99a7d8f0 SHA256 311562626876459cc265dcc09ac0673384454c0fbee8e4839c888991b0578094
DIST gnucap-2006-08-30.tar.gz 1008949 RMD160 000edb52fa0da0f7376a1d463de31101713996f4 SHA1 5c52c94edde7a95a3f468aa44036b52323efe471 SHA256 d01989ab7dbf980d0f308033fd2e57146a0dbf3254161f1e8d8a49c5882311bc
+DIST gnucap-2007-02-21-bsim-models.tar.gz 2997708 RMD160 9db7f0cb6b9c1c7418e0af4527a280eaca67be89 SHA1 47a78ad092ee9c0d056f2fa0537e07481a3ea5d7 SHA256 4a755be44384ece18516209767e98c9f2ccc3752cab497531e86367c7fc21451
+DIST gnucap-2007-02-21-ngspice17-models.tar.gz 2310474 RMD160 04380271580ed0dfc9bafd353f43d1cc0f7cc7e4 SHA1 bee0700e990829c31428198b1773e53907716c8e SHA256 cd4a24df7b23244f4d3c7124cffd965469a6a6dd12a3c94bcf21e22bb577e242
+DIST gnucap-2007-02-21-spice3f5-models.tar.gz 500311 RMD160 9818d6c9e9ab30a9b4aa03741144b2c0e12cd843 SHA1 32ce43e7550e266ff10f20c97469f8324b8ba561 SHA256 ca8bf250242828a3a9fef1cb48ca84753561539a94dc23f0c2d32333a36f5d07
+DIST gnucap-2007-02-21.tar.gz 1024218 RMD160 89c026b49728b2a54ee080ce3a5e58981f5c15c5 SHA1 c287839198d286e73b38f41b72e04eab2927822f SHA256 6e75616a892d64c531b6e97096b5327358ab77937a4aaee4de8c5a0a58353d4d
+EBUILD gnucap-0.35.20070221.ebuild 2009 RMD160 757731beee1b51cb869589d65440fe7da28e4009 SHA1 306e9c5f6638c072ed5b5c82ab172a6e9326f410 SHA256 5de2c4713e63c44bef66767b15e2357dfcf533b99a62c23d0732a8d80f479dfc
+MD5 71a0d8a59baa6978f5150bc7f4b9d357 gnucap-0.35.20070221.ebuild 2009
+RMD160 757731beee1b51cb869589d65440fe7da28e4009 gnucap-0.35.20070221.ebuild 2009
+SHA256 5de2c4713e63c44bef66767b15e2357dfcf533b99a62c23d0732a8d80f479dfc gnucap-0.35.20070221.ebuild 2009
EBUILD gnucap-0.35.ebuild 1044 RMD160 31e038b664782c205739a365289569e26f11862c SHA1 fc00470281c7aa95a797ceda783e31df984f8453 SHA256 9f0b34efd0f266f2687f070df89a2a82869d9695b987cd52ad425118795bf983
MD5 ee82bafaf4e95b09ceb195f0eb84c9f2 gnucap-0.35.ebuild 1044
RMD160 31e038b664782c205739a365289569e26f11862c gnucap-0.35.ebuild 1044
MD5 e0a9652c59a42a2938d4f002b46d459b gnucap-20060830.ebuild 1128
RMD160 ce3cb653d6657824a49d5270afd8837f37ca7fe3 gnucap-20060830.ebuild 1128
SHA256 b2bbd719157486d8cc2bae2b7e052f0226bf2e3452d078d3a85849b8b527ae0a gnucap-20060830.ebuild 1128
-MISC ChangeLog 5346 RMD160 a211d71f8486877ab369f9ec555acdc483a3c93a SHA1 cb134f85ddbb32f8253a4cfb9e183240ff7e24c0 SHA256 6c50538ec0ca56ff8ba415ec89e01a63ec97f6c973f823cde7a3e4020f3599a9
-MD5 6eb7e2dcf1739ddaac74818d2e813bcc ChangeLog 5346
-RMD160 a211d71f8486877ab369f9ec555acdc483a3c93a ChangeLog 5346
-SHA256 6c50538ec0ca56ff8ba415ec89e01a63ec97f6c973f823cde7a3e4020f3599a9 ChangeLog 5346
+MISC ChangeLog 5547 RMD160 f985f9537ccb455e1cf21ceaf6cdb05c048e048d SHA1 78f1e724f6c151469111439f71979ed490676f67 SHA256 e6d7b4552ad7ae2d6241fe95741d722462bea594424a9aaad9487ee6651b917d
+MD5 d406418d9c5b7c37addb3a087dd68fbb ChangeLog 5547
+RMD160 f985f9537ccb455e1cf21ceaf6cdb05c048e048d ChangeLog 5547
+SHA256 e6d7b4552ad7ae2d6241fe95741d722462bea594424a9aaad9487ee6651b917d ChangeLog 5547
MISC metadata.xml 639 RMD160 ddee6180e0025cae9e4ea9af68209788a0fc282e SHA1 7c60875a5cf344f4c4ac272f1d49ecba5d813ae2 SHA256 ff13dbf0ea2bc18a97e2b456c50c0b57082e14e5bde50ebb04395d955e3d9076
MD5 3da70d3ad23068a8a39c22cdce8999af metadata.xml 639
RMD160 ddee6180e0025cae9e4ea9af68209788a0fc282e metadata.xml 639
MD5 23f184bded04532175eff06a621bf4dc files/digest-gnucap-0.35 238
RMD160 df928bb13784640080b3afd57468e78dcfb4f80f files/digest-gnucap-0.35 238
SHA256 c29d0f89e9cb34c881ef248a469bfe68860e210ab48a2ea9ab4b47ad909907df files/digest-gnucap-0.35 238
+MD5 bfc10a8f8570f509fd2eba0de9bb79c6 files/digest-gnucap-0.35.20070221 1156
+RMD160 19b750418993781b0cadd00059a65399dcc8cc27 files/digest-gnucap-0.35.20070221 1156
+SHA256 599661e781a4c104aefd5ecd24f76dd6f12627a8f83c56021eb8317498988b2c files/digest-gnucap-0.35.20070221 1156
MD5 86904e594c258e5bb07c9d5a49bf63f5 files/digest-gnucap-20060708 256
RMD160 7a9b1e9448083281607a29c6e4287c55b3a3cc85 files/digest-gnucap-20060708 256
SHA256 20f606da2d5b70bbc3dcb5b75087256128aff553711210c573ae7d24c698592e files/digest-gnucap-20060708 256
--- /dev/null
+MD5 db5cd13dc051b66dd65dfd7720c6d960 gnucap-2007-02-21-bsim-models.tar.gz 2997708
+RMD160 9db7f0cb6b9c1c7418e0af4527a280eaca67be89 gnucap-2007-02-21-bsim-models.tar.gz 2997708
+SHA256 4a755be44384ece18516209767e98c9f2ccc3752cab497531e86367c7fc21451 gnucap-2007-02-21-bsim-models.tar.gz 2997708
+MD5 27d3259e304c6e109b8ca65195007f25 gnucap-2007-02-21-ngspice17-models.tar.gz 2310474
+RMD160 04380271580ed0dfc9bafd353f43d1cc0f7cc7e4 gnucap-2007-02-21-ngspice17-models.tar.gz 2310474
+SHA256 cd4a24df7b23244f4d3c7124cffd965469a6a6dd12a3c94bcf21e22bb577e242 gnucap-2007-02-21-ngspice17-models.tar.gz 2310474
+MD5 e59be8989ad5e0253c422cb8bc9af9c1 gnucap-2007-02-21-spice3f5-models.tar.gz 500311
+RMD160 9818d6c9e9ab30a9b4aa03741144b2c0e12cd843 gnucap-2007-02-21-spice3f5-models.tar.gz 500311
+SHA256 ca8bf250242828a3a9fef1cb48ca84753561539a94dc23f0c2d32333a36f5d07 gnucap-2007-02-21-spice3f5-models.tar.gz 500311
+MD5 6c9f3f3e2d23e98c588f8d25d9c4c96a gnucap-2007-02-21.tar.gz 1024218
+RMD160 89c026b49728b2a54ee080ce3a5e58981f5c15c5 gnucap-2007-02-21.tar.gz 1024218
+SHA256 6e75616a892d64c531b6e97096b5327358ab77937a4aaee4de8c5a0a58353d4d gnucap-2007-02-21.tar.gz 1024218
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/gnucap-0.35.20070221.ebuild,v 1.1 2007/02/27 12:31:28 calchan Exp $
+
+SNAPSHOTDATE="${P##*.}"
+SNAPSHOT_DATE="${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}"
+
+DESCRIPTION="GNUCap is the GNU Circuit Analysis Package"
+SRC_URI="http://www.gnucap.org/devel/${PN}-${SNAPSHOT_DATE}.tar.gz
+ http://www.gnucap.org/devel/${PN}-${SNAPSHOT_DATE}-bsim-models.tar.gz
+ http://www.gnucap.org/devel/${PN}-${SNAPSHOT_DATE}-ngspice17-models.tar.gz
+ http://www.gnucap.org/devel/${PN}-${SNAPSHOT_DATE}-spice3f5-models.tar.gz"
+HOMEPAGE="http://www.gnucap.org/"
+
+IUSE="doc examples"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~ppc ~sparc ~x86"
+
+DEPEND="doc? ( virtual/tetex )"
+
+S="${WORKDIR}/${PN}-${SNAPSHOT_DATE}"
+
+src_unpack() {
+ unpack ${A} || die "Failed to unpack!"
+ cd ${S}
+
+ # No need to install COPYING and INSTALL
+ sed -i \
+ -e 's: COPYING INSTALL::' \
+ -e 's:COPYING history INSTALL:history:' \
+ doc/Makefile.in || die "sed failed"
+
+ if ! use doc ; then
+ sed -i \
+ -e 's:SUBDIRS = doc examples man:SUBDIRS = doc examples:' \
+ Makefile.in || die "sed failed"
+ fi
+
+ if ! use examples ; then
+ sed -i \
+ -e 's:SUBDIRS = doc examples:SUBDIRS = doc:' \
+ Makefile.in || die "sed failed"
+ fi
+
+ mv ../plugins .
+ sed -i -e "s:CFLAGS = -O2 -g:CFLAGS +=:" \
+ -e "s:CCFLAGS = \$(CFLAGS):CCFLAGS += \$(CFLAGS):" \
+ plugins/*/Make2
+}
+
+src_compile () {
+ econf --disable-dependency-tracking || die "Configuration failed"
+ emake || die "Compilation failed"
+ cd ${S}/plugins
+ for PLUGIN_DIR in * ; do
+ cd ${S}/plugins/${PLUGIN_DIR}
+ emake || "Compilation failed"
+ done
+}
+
+src_install () {
+ emake DESTDIR=${D} install || die "Installation failed"
+ insopts -m0755
+ cd ${S}/plugins
+ for PLUGIN_DIR in * ; do
+ insinto /usr/lib/gnucap/${PLUGIN_DIR}
+ cd ${S}/plugins/${PLUGIN_DIR}
+ for PLUGIN in */*.so ; do
+ newins ${PLUGIN} ${PLUGIN##*/}
+ done
+ done
+}