summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-07-11 19:32:10 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-07-11 19:32:10 +0000
commitcddbc4fcc5ef187f35f1dedb18a3e52fce48b40f (patch)
tree9effbf1aaddc6a2b6bbb31c1146e3a96c9d0a824 /sci-electronics/gnucap
parentalpha/arm/ia64/s390/sh/sparc stable wrt #277194 (diff)
downloadhistorical-cddbc4fcc5ef187f35f1dedb18a3e52fce48b40f.tar.gz
historical-cddbc4fcc5ef187f35f1dedb18a3e52fce48b40f.tar.bz2
historical-cddbc4fcc5ef187f35f1dedb18a3e52fce48b40f.zip
Version bump. Fixed bug #273370, thanks to Arttu Valo.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics/gnucap')
-rw-r--r--sci-electronics/gnucap/ChangeLog10
-rw-r--r--sci-electronics/gnucap/Manifest8
-rw-r--r--sci-electronics/gnucap/gnucap-0.35.20090611.ebuild79
3 files changed, 94 insertions, 3 deletions
diff --git a/sci-electronics/gnucap/ChangeLog b/sci-electronics/gnucap/ChangeLog
index 136779f88545..a2f2b9a5d24e 100644
--- a/sci-electronics/gnucap/ChangeLog
+++ b/sci-electronics/gnucap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/gnucap
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.46 2009/04/24 16:45:18 calchan Exp $
+# 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 $
+
+*gnucap-0.35.20090611 (11 Jul 2009)
+
+ 11 Jul 2009; Denis Dupeyron <calchan@gentoo.org>
+ +gnucap-0.35.20090611.ebuild:
+ Version bump. Fixed bug #273370, thanks to Arttu Valo.
24 Apr 2009; Denis Dupeyron <calchan@gentoo.org>
-gnucap-0.35.20070221.ebuild, -gnucap-0.35.20070820.ebuild,
diff --git a/sci-electronics/gnucap/Manifest b/sci-electronics/gnucap/Manifest
index fad084063326..b15fa1faa358 100644
--- a/sci-electronics/gnucap/Manifest
+++ b/sci-electronics/gnucap/Manifest
@@ -5,7 +5,13 @@ DIST gnucap-2009-02-02-models-jspice3-2.5.tar.gz 506780 RMD160 0c68b8bb92a3321c6
DIST gnucap-2009-02-02-models-ngspice17.tar.gz 4422934 RMD160 9280408e7336c0f6d885e21aa56d58bc25b32c5c SHA1 aecea222d9e57178b3b2301317f80a8f8f1b8cce SHA256 b07425b59575900608ebd662c3235d9850d4207decffc663e0c05a68a7d07d97
DIST gnucap-2009-02-02-models-spice3f5.tar.gz 1427624 RMD160 e88a310325c6e4c21e5098574b6a91fe773fc434 SHA1 df71a72af2762699c982c678dd3000d540251822 SHA256 ca1d3d785eae72e52e4b00f1cb99500031b004be84630a24d770e4b378902916
DIST gnucap-2009-02-02.tar.gz 540981 RMD160 30461a989811b67296e85f1aaada28ba6d01d328 SHA1 3bcbdae023e2a79175cf6f427c35bfc68299c845 SHA256 2f2c25186a43bd6e01fdd324668d89caf221202269dee928af5de4c16c3b6393
+DIST gnucap-2009-06-11-models-bsim.tar.gz 3441300 RMD160 2c4c7b467e99f5a50cc22dcbfa5e73c08014bd5c SHA1 54f40e219c12d1dd9e4c0b2577a75e2c18460884 SHA256 5aafd2b02d12e7ddd3117cbc1edd116dcaa9b593cb93ee6a679cdd136ad0b28e
+DIST gnucap-2009-06-11-models-jspice3-2.5.tar.gz 506781 RMD160 85831d6c9b8e9d6af3592d537a6774ad328e7a5f SHA1 8c01225c7435ccba7aff63d0f49977a59cc38d1a SHA256 59a5958fe7525798803dc8d4d3ac32eb387d53bf24aeaf7079922128fd817e27
+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
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.ebuild 1112 RMD160 ea980161cca0eba3be3e9c4770bb6ef2f667330c SHA1 0a9a7f962c52bade3637cd80b67881c9739e0be4 SHA256 9e72d1dc9376b94553f7210dc8c6786b09b3f12803fd712d970c7d246906ef6c
-MISC ChangeLog 7674 RMD160 043a05741c7f79d93b0a879ccd366f34bf7e6e99 SHA1 fd8ce5a730312deaa891cb1c103f6da6ad8cc390 SHA256 fb02bdf166f51b1ec30042cff7b3762cd7a4cb779be125f61f46807e604fde65
+MISC ChangeLog 7852 RMD160 dbd1f7c3d70aee68f760774ab3b5947f023c4395 SHA1 ed89f847b6ac7ac29a924dd66a47336d9322c795 SHA256 6b5e99b23700e12fe153783e595b0f561c612c1e949c085b7d4d94cf5c15e202
MISC metadata.xml 639 RMD160 ddee6180e0025cae9e4ea9af68209788a0fc282e SHA1 7c60875a5cf344f4c4ac272f1d49ecba5d813ae2 SHA256 ff13dbf0ea2bc18a97e2b456c50c0b57082e14e5bde50ebb04395d955e3d9076
diff --git a/sci-electronics/gnucap/gnucap-0.35.20090611.ebuild b/sci-electronics/gnucap/gnucap-0.35.20090611.ebuild
new file mode 100644
index 000000000000..e9c35d5d99db
--- /dev/null
+++ b/sci-electronics/gnucap/gnucap-0.35.20090611.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.20090611.ebuild,v 1.1 2009/07/11 19:32:10 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"
+}