summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2010-01-23 17:54:29 +0000
committerDenis Dupeyron <calchan@gentoo.org>2010-01-23 17:54:29 +0000
commited205b7dea8ca0995c9abc608fd78d978ae35c04 (patch)
tree065928964aee99fe6fe86d624f342f054bd24131 /sci-electronics
parentVersion bump to 0.96; lots of bugfixes, see NEWS (diff)
downloadgentoo-2-ed205b7dea8ca0995c9abc608fd78d978ae35c04.tar.gz
gentoo-2-ed205b7dea8ca0995c9abc608fd78d978ae35c04.tar.bz2
gentoo-2-ed205b7dea8ca0995c9abc608fd78d978ae35c04.zip
Version bump. Cleanup.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/gnucap/ChangeLog11
-rw-r--r--sci-electronics/gnucap/gnucap-0.35.20090202.ebuild78
-rw-r--r--sci-electronics/gnucap/gnucap-0.35.20090928.ebuild79
-rw-r--r--sci-electronics/gnucap/gnucap-0.35.20091207.ebuild (renamed from sci-electronics/gnucap/gnucap-0.35.20090611.ebuild)4
4 files changed, 11 insertions, 161 deletions
diff --git a/sci-electronics/gnucap/ChangeLog b/sci-electronics/gnucap/ChangeLog
index 8be203cc9637..2738c979873a 100644
--- a/sci-electronics/gnucap/ChangeLog
+++ b/sci-electronics/gnucap/ChangeLog
@@ -1,6 +1,13 @@
# 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.48 2009/10/05 16:36:21 calchan Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/ChangeLog,v 1.49 2010/01/23 17:54:29 calchan Exp $
+
+*gnucap-0.35.20091207 (23 Jan 2010)
+
+ 23 Jan 2010; Denis Dupeyron <calchan@gentoo.org>
+ -gnucap-0.35.20090202.ebuild, -gnucap-0.35.20090611.ebuild,
+ -gnucap-0.35.20090928.ebuild, +gnucap-0.35.20091207.ebuild:
+ Version bump. Cleanup.
*gnucap-0.35.20090928 (05 Oct 2009)
diff --git a/sci-electronics/gnucap/gnucap-0.35.20090202.ebuild b/sci-electronics/gnucap/gnucap-0.35.20090202.ebuild
deleted file mode 100644
index 3590b823de73..000000000000
--- a/sci-electronics/gnucap/gnucap-0.35.20090202.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# 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.20090202.ebuild,v 1.1 2009/04/18 18:13:25 calchan Exp $
-
-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_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 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"
-}
-
-src_compile () {
- econf --disable-dependency-tracking
- 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"
-}
diff --git a/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild b/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild
deleted file mode 100644
index 6e581a5bb83b..000000000000
--- a/sci-electronics/gnucap/gnucap-0.35.20090928.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# 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"
-}
diff --git a/sci-electronics/gnucap/gnucap-0.35.20090611.ebuild b/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
index e9c35d5d99db..1469a1005c6a 100644
--- a/sci-electronics/gnucap/gnucap-0.35.20090611.ebuild
+++ b/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnucap/gnucap-0.35.20091207.ebuild,v 1.1 2010/01/23 17:54:29 calchan Exp $
EAPI="2"