diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2009-10-05 16:36:21 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2009-10-05 16:36:21 +0000 |
commit | 98ec4d2fdb78fda20010159ec5922571af9e1e84 (patch) | |
tree | 52e6bfcea9d76c12818247ec8e1a4dc27afa3c02 /sci-electronics | |
parent | ia64/sparc stable wrt #284384 (diff) | |
download | historical-98ec4d2fdb78fda20010159ec5922571af9e1e84.tar.gz historical-98ec4d2fdb78fda20010159ec5922571af9e1e84.tar.bz2 historical-98ec4d2fdb78fda20010159ec5922571af9e1e84.zip |
Version bump.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/gnucap/ChangeLog | 8 | ||||
-rw-r--r-- | sci-electronics/gnucap/Manifest | 8 | ||||
-rw-r--r-- | sci-electronics/gnucap/gnucap-0.35.20090928.ebuild | 79 |
3 files changed, 93 insertions, 2 deletions
diff --git a/sci-electronics/gnucap/ChangeLog b/sci-electronics/gnucap/ChangeLog index a2f2b9a5d24e..8be203cc9637 100644 --- a/sci-electronics/gnucap/ChangeLog +++ b/sci-electronics/gnucap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/gnucap # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.47 2009/07/11 19:32:10 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.48 2009/10/05 16:36:21 calchan Exp $ + +*gnucap-0.35.20090928 (05 Oct 2009) + + 05 Oct 2009; Denis Dupeyron <calchan@gentoo.org> + +gnucap-0.35.20090928.ebuild: + Version bump. *gnucap-0.35.20090611 (11 Jul 2009) diff --git a/sci-electronics/gnucap/Manifest b/sci-electronics/gnucap/Manifest index b15fa1faa358..6a7fa9a3c156 100644 --- a/sci-electronics/gnucap/Manifest +++ b/sci-electronics/gnucap/Manifest @@ -10,8 +10,14 @@ DIST gnucap-2009-06-11-models-jspice3-2.5.tar.gz 506781 RMD160 85831d6c9b8e9d6af DIST gnucap-2009-06-11-models-ngspice17.tar.gz 4440947 RMD160 e297e9f9f84de14e3f5dd14d2240a02015f22b0d SHA1 3e592e43a86893de68ce05e440766c130e0cc316 SHA256 410ffed913f295e685984adafeb29898d900a65e3acf27fc17ee7bb3c30aa651 DIST gnucap-2009-06-11-models-spice3f5.tar.gz 1429033 RMD160 856d157636f0d16380278e7474b3145e5fc579c6 SHA1 9ebb96da6358d1b05962d4bdcfdc22631dedf519 SHA256 deaea253899e345d1e35034920e67c7b4b8ee71f43fd4b532864f42a5390ac8d DIST gnucap-2009-06-11.tar.gz 542260 RMD160 0e384032c46776976ddf7cc7b8a1aec6389fdbf1 SHA1 59e0bd20d46ad2a609212efbc1b97f96dceffb68 SHA256 f4038e88b83fb02553102e263cd3826b3aa9021300bf3317a10eb2cf76af9e9d +DIST gnucap-2009-09-28-models-bsim.tar.gz 4142847 RMD160 328013a1ffea357ce4fd97203fc667fc10e0be0a SHA1 721f5885b0cdc6f64621a2cc88c4f085d7c18bcf SHA256 b5cafbb12375d893e13907f82c8435b544a8c30608d135357a5a29f317f5585f +DIST gnucap-2009-09-28-models-jspice3-2.5.tar.gz 505848 RMD160 c944f76d0d10a3230874681043eeb2b287e4cda1 SHA1 49d283e7340b66f7d645558e9f18c43c5087ab11 SHA256 8b80d72d40ecdc6a60e3acb717040d041a555d81a09d0dea433760080116e474 +DIST gnucap-2009-09-28-models-ngspice17.tar.gz 4433017 RMD160 a772c7543ecc2dad01f24f54cdeaea54c9fbe1aa SHA1 090f3fc84b71261cca48b9a44da39d82c8ddd423 SHA256 4602da998421b3a4d51d044560542264a1ac202dc9a9418639cf4af72124a774 +DIST gnucap-2009-09-28-models-spice3f5.tar.gz 1433989 RMD160 f8051f0b4541216bb242252bee18fb3e15edfae4 SHA1 792ad7a57c7d1a7248587c0b4c4c2d9705ca4ec3 SHA256 a4dcf4518c8507dd0b20fca3ac75288a0f41f374456a354c3dfdc24028aca914 +DIST gnucap-2009-09-28.tar.gz 549834 RMD160 e78bfca63e53e0bf36a4124d85293f9284ab0725 SHA1 a5d0ff4c4ff760d6744f46d59ab8c308e672ea38 SHA256 f147682e0350ab838278e265f459180d9b6c31a746bafc0bb5e75ea838b8fb7c EBUILD gnucap-0.35.20090202.ebuild 2203 RMD160 4e72ec75f889870ce6f6c81d8bc7cf313675c2c4 SHA1 b82a710bf4d2712f0a11b2bf576a36da23a011ca SHA256 6bbc5bed8435ab68d4267e244bf53253836764a8a4a1857398ea85fdcb6c6ed9 EBUILD gnucap-0.35.20090611.ebuild 2248 RMD160 14251a6ebedd1c599a68c4b49994f161068001bb SHA1 0d01911c60e3663398a70a21fa51234531377e16 SHA256 f04a8c2fc015783dc8efe4a48e58bda915acae9c71603ac78b534ce48e0f405e +EBUILD gnucap-0.35.20090928.ebuild 2248 RMD160 074d0f26012b24f69b63095504c3398fedd6bea9 SHA1 d0f927d038c9a371e0c74802ce767a514b69eb15 SHA256 1007d9d8eaa2476eb3f9986e2d39151d24f9e54d5cea5e435ed73a929b8a056e EBUILD gnucap-0.35.ebuild 1112 RMD160 ea980161cca0eba3be3e9c4770bb6ef2f667330c SHA1 0a9a7f962c52bade3637cd80b67881c9739e0be4 SHA256 9e72d1dc9376b94553f7210dc8c6786b09b3f12803fd712d970c7d246906ef6c -MISC ChangeLog 7852 RMD160 dbd1f7c3d70aee68f760774ab3b5947f023c4395 SHA1 ed89f847b6ac7ac29a924dd66a47336d9322c795 SHA256 6b5e99b23700e12fe153783e595b0f561c612c1e949c085b7d4d94cf5c15e202 +MISC ChangeLog 7989 RMD160 f024f5f291121882929a38f00b0a94ab9e98121a SHA1 79dcdaac87bde9d1840685909c8f413383411b8a SHA256 1d2ae08fe9ddeda2b2b078b74cec049c37ac20002bed8ad85147b2cbf334382f MISC metadata.xml 639 RMD160 ddee6180e0025cae9e4ea9af68209788a0fc282e SHA1 7c60875a5cf344f4c4ac272f1d49ecba5d813ae2 SHA256 ff13dbf0ea2bc18a97e2b456c50c0b57082e14e5bde50ebb04395d955e3d9076 diff --git a/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild b/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild new file mode 100644 index 000000000000..6e581a5bb83b --- /dev/null +++ b/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild,v 1.1 2009/10/05 16:36:21 calchan Exp $ + +EAPI="2" + +inherit multilib + +SNAPSHOTDATE="${P##*.}" +MY_PV="${PN}-${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}" + +DESCRIPTION="GNUCap is the GNU Circuit Analysis Package" +SRC_URI="http://www.gnucap.org/devel/${MY_PV}.tar.gz + http://www.gnucap.org/devel/${MY_PV}-models-bsim.tar.gz + http://www.gnucap.org/devel/${MY_PV}-models-jspice3-2.5.tar.gz + http://www.gnucap.org/devel/${MY_PV}-models-ngspice17.tar.gz + http://www.gnucap.org/devel/${MY_PV}-models-spice3f5.tar.gz" +HOMEPAGE="http://www.gnucap.org/" + +IUSE="examples" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_PV}" + +src_prepare() { + # 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 examples ; then + sed -i \ + -e 's:examples modelgen:modelgen:' \ + Makefile.in || die "sed failed" + fi + + sed -i -e 's:CFLAGS = -O2 -g:CPPFLAGS +=:' \ + -e '/CCFLAGS =/i\CFLAGS += $(CPPFLAGS)' \ + -e 's:CCFLAGS = $(CFLAGS):CXXFLAGS += $(CPPFLAGS):' \ + -e 's:LDFLAGS = :LDFLAGS += :' \ + -e 's:CCFLAGS:CXXFLAGS:' \ + -e "s:../Gnucap:${S}/src:" \ + models-*/Make2 || die "sed failed" + + sed -i -e "s:strchr(str2, '|'):const_cast<char*>(strchr(str2, '|')):" \ + {src,modelgen}/ap_match.cc || die "sed failed" +} + +src_compile () { + emake || die "Compilation failed" + for PLUGIN_DIR in models-* ; do + cd "${S}/${PLUGIN_DIR}" + emake || die "Compilation failed in ${PLUGIN_DIR}" + done +} + +src_install () { + emake DESTDIR="${D}" install || die "Installation failed" + insopts -m0755 + for PLUGIN_DIR in models-* ; do + insinto /usr/$(get_libdir)/gnucap/${PLUGIN_DIR} + cd "${S}/${PLUGIN_DIR}" + for PLUGIN in */*.so ; do + newins ${PLUGIN} ${PLUGIN##*/} \ + || die "Installation of ${PLUGIN_DIR}/${PLUGIN} failed" + done + done +} + +pkg_postinst() { + elog "Documentation for development releases is now available at :" + elog " http://wiki.gnucap.org/dokuwiki/doku.php?id=gnucap:manual" +} |