diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-05-26 20:57:56 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-05-26 20:57:56 +0000 |
commit | a11142c9e47a46d483b99b4f7dafa7ede3fd2c1a (patch) | |
tree | cb0c90577c4efe935c4b610941a70079e5ca5dbf /sci-electronics/ng-spice-rework | |
parent | Fixing the grsecurity patch, had one '};' too much. (diff) | |
download | gentoo-2-a11142c9e47a46d483b99b4f7dafa7ede3fd2c1a.tar.gz gentoo-2-a11142c9e47a46d483b99b4f7dafa7ede3fd2c1a.tar.bz2 gentoo-2-a11142c9e47a46d483b99b4f7dafa7ede3fd2c1a.zip |
Enabled xspice and intnoise after testing them, which closes bug #140402. Added optional ngspice and xspice documentation. Fixed X dependencies and made them optional. Fixed collision with external xgraph. Fixed debug messing with compilation optimizations. Made debug even more chatty.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sci-electronics/ng-spice-rework')
3 files changed, 134 insertions, 1 deletions
diff --git a/sci-electronics/ng-spice-rework/ChangeLog b/sci-electronics/ng-spice-rework/ChangeLog index b03431087b38..8c554734fb36 100644 --- a/sci-electronics/ng-spice-rework/ChangeLog +++ b/sci-electronics/ng-spice-rework/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-electronics/ng-spice-rework # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ng-spice-rework/ChangeLog,v 1.16 2007/01/31 18:14:15 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ng-spice-rework/ChangeLog,v 1.17 2007/05/26 20:57:56 calchan Exp $ + +*ng-spice-rework-17-r2 (26 May 2007) + + 26 May 2007; Denis Dupeyron <calchan@gentoo.org> + +ng-spice-rework-17-r2.ebuild: + Enabled xspice and intnoise after testing them, which closes bug #140402. + Added optional ngspice and xspice documentation. Fixed X dependencies and + made them optional. Fixed collision with external xgraph. Fixed debug + messing with compilation optimizations. Made debug even more chatty. 31 Jan 2007; Denis Dupeyron <calchan@gentoo.org> ng-spice-rework-9999.ebuild: diff --git a/sci-electronics/ng-spice-rework/files/digest-ng-spice-rework-17-r2 b/sci-electronics/ng-spice-rework/files/digest-ng-spice-rework-17-r2 new file mode 100644 index 000000000000..0a50b207ecdb --- /dev/null +++ b/sci-electronics/ng-spice-rework/files/digest-ng-spice-rework-17-r2 @@ -0,0 +1,18 @@ +MD5 dba091c44f884e9cb9e547ee079ff69c XSpice_CodeModelSubsysInterfaceDesign.pdf 2285998 +RMD160 83669a35a58065ea5ffe636356841c6cbc3e730b XSpice_CodeModelSubsysInterfaceDesign.pdf 2285998 +SHA256 498bc50a64b9a303c10153bb3f454acb8dbe7099a6cd532df0ae5bc9edeec20e XSpice_CodeModelSubsysInterfaceDesign.pdf 2285998 +MD5 b407ba0b5a5d84a723100917cc598da7 XSpice_CodeModelSubsysSoftwareDesign.pdf 6941750 +RMD160 a7550868a48adfde4e1f5b95fe8015e91f2d1768 XSpice_CodeModelSubsysSoftwareDesign.pdf 6941750 +SHA256 4df8e25a6e19cab761a744ddf2e88f38e26cdc5eaef8e365b9bce4612b89c5f5 XSpice_CodeModelSubsysSoftwareDesign.pdf 6941750 +MD5 891ec5f66cd31b4e471a05cf7970b8dd XSpice_InterfaceDesignDoc_Sep92.pdf 1449807 +RMD160 c64386eb40f63f0cc2b67382a3d70d42d36d7a95 XSpice_InterfaceDesignDoc_Sep92.pdf 1449807 +SHA256 013e99b2b249b5f30fdc197dae8ffa6d8f54409ecc805628072f4997eb27ff87 XSpice_InterfaceDesignDoc_Sep92.pdf 1449807 +MD5 4d3eb43416bc726a279efb992a0364ab XSpice_SoftwareDesignDoc_Sep92.pdf 9675304 +RMD160 bd987708a9c5d5e54854edda64988c279ba084e3 XSpice_SoftwareDesignDoc_Sep92.pdf 9675304 +SHA256 597fac4778aaf5d24697dbfc5fa5b550080dd123c783fd226ab1258243d8c3d8 XSpice_SoftwareDesignDoc_Sep92.pdf 9675304 +MD5 80309d87a97dfc9c45ddc869beeefbf2 Xspice_Users_Manual.pdf 6662909 +RMD160 6c0e5b1174811f4a598b0b6fd6cdd105e7970627 Xspice_Users_Manual.pdf 6662909 +SHA256 6f1fbecb03d50517ee99fc7fc17023482a0b1bbec1ff862dab29bcdf361c7311 Xspice_Users_Manual.pdf 6662909 +MD5 abe283dea98b913a2122f085076865b1 ng-spice-rework-17.tar.gz 5919637 +RMD160 2345cbdb608bfb182d33c1a6497408b22acffb77 ng-spice-rework-17.tar.gz 5919637 +SHA256 58ec02a0ab48369724c9e98f9a6aa3e0f400ae7b361ba194f4bf06d1420f4496 ng-spice-rework-17.tar.gz 5919637 diff --git a/sci-electronics/ng-spice-rework/ng-spice-rework-17-r2.ebuild b/sci-electronics/ng-spice-rework/ng-spice-rework-17-r2.ebuild new file mode 100644 index 000000000000..bdfa926adc41 --- /dev/null +++ b/sci-electronics/ng-spice-rework/ng-spice-rework-17-r2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ng-spice-rework/ng-spice-rework-17-r2.ebuild,v 1.1 2007/05/26 20:57:56 calchan Exp $ + +inherit eutils + +DESCRIPTION="The Next Generation Spice (Electronic Circuit Simulator)." +SRC_URI="mirror://sourceforge/ngspice/${P}.tar.gz + doc? ( http://users.ece.gatech.edu/~mrichard/Xspice/Xspice_Users_Manual.pdf \ + http://users.ece.gatech.edu/~mrichard/Xspice/XSpice_SoftwareDesignDoc_Sep92.pdf \ + http://users.ece.gatech.edu/~mrichard/Xspice/XSpice_InterfaceDesignDoc_Sep92.pdf \ + http://users.ece.gatech.edu/~mrichard/Xspice/XSpice_CodeModelSubsysSoftwareDesign.pdf \ + http://users.ece.gatech.edu/~mrichard/Xspice/XSpice_CodeModelSubsysInterfaceDesign.pdf )" +HOMEPAGE="http://ngspice.sourceforge.net" +LICENSE="BSD GPL-2" + +SLOT="0" +IUSE="X debug doc readline" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="readline? ( >=sys-libs/readline-5.0 ) + X? ( x11-libs/libXaw + x11-libs/libXt + x11-libs/libX11 + sci-visualization/xgraph )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-com_let.patch + epatch ${FILESDIR}/${PN}-numparam.patch + epatch ${FILESDIR}/${PN}-pipemode.patch + epatch ${FILESDIR}/${PN}-postscript.patch + sed -i -e 's/CFLAGS=" "/CFLAGS="\${CFLAGS}"/' configure + if use doc ; then + cp ${DISTDIR}/Xspice_Users_Manual.pdf ${S} + cp ${DISTDIR}/XSpice_SoftwareDesignDoc_Sep92.pdf ${S} + cp ${DISTDIR}/XSpice_InterfaceDesignDoc_Sep92.pdf ${S} + cp ${DISTDIR}/XSpice_CodeModelSubsysSoftwareDesign.pdf ${S} + cp ${DISTDIR}/XSpice_CodeModelSubsysInterfaceDesign.pdf ${S} + fi +} + +src_compile() { + local MYCONF + if use debug ; then + MYCONF="--enable-debug \ + --enable-ftedebug \ + --enable-cpdebug \ + --enable-asdebug \ + --enable-stepdebug \ + --enable-pzdebug" + else + MYCONF="--disable-debug \ + --disable-ftedebug \ + --disable-cpdebug \ + --disable-asdebug \ + --disable-stepdebug \ + --disable-pzdebug" + fi + # Those don't compile + MYCONF="${MYCONF} \ + --disable-sensdebug \ + --disable-blktmsdebug \ + --disable-smltmsdebug" + + econf ${MYCONF} \ + --enable-intnoise \ + --enable-xspice \ + --enable-numparam \ + --enable-dot-global \ + --disable-xgraph \ + --disable-dependency-tracking \ + $(use_with X x) \ + $(use_with readline) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install () { + local infoFile + for infoFile in doc/ngspice.info*; do + echo 'INFO-DIR-SECTION EDA' >> ${infoFile} + echo 'START-INFO-DIR-ENTRY' >> ${infoFile} + echo '* NGSPICE: (ngspice). Electronic Circuit Simulator.' >> ${infoFile} + echo 'END-INFO-DIR-ENTRY' >> ${infoFile} + done + + emake DESTDIR="${D}" install || die "make install failed" + dodoc ANALYSES AUTHORS BUGS ChangeLog DEVICES NEWS \ + README Stuarts_Poly_Notes || die "failed to install documentation" + + if use doc ; then + insinto /usr/share/doc/${PF} + doins doc/ngspice.pdf + doins *.pdf + fi + + # We don't need makeidx to be installed + rm ${D}/usr/bin/makeidx +} + +src_test () { + # Bug 108405 + true +} |