diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-12-10 16:27:25 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-12-10 16:27:25 +0000 |
commit | 3423acb6cbdab03145ee4db07f1728dfaca26af0 (patch) | |
tree | c4178d85afabcf6d6737c823d609ed7a32886c92 /sci-electronics/ng-spice-rework | |
parent | Stable for HPPA (bug #208898). (diff) | |
download | historical-3423acb6cbdab03145ee4db07f1728dfaca26af0.tar.gz historical-3423acb6cbdab03145ee4db07f1728dfaca26af0.tar.bz2 historical-3423acb6cbdab03145ee4db07f1728dfaca26af0.zip |
Version bump, bug #249949.
Package-Manager: portage-2.1.6/cvs/Linux 2.6.27-gentoo-r4 i686
Diffstat (limited to 'sci-electronics/ng-spice-rework')
4 files changed, 142 insertions, 3 deletions
diff --git a/sci-electronics/ng-spice-rework/ChangeLog b/sci-electronics/ng-spice-rework/ChangeLog index 8c554734fb36..955f1560b5c0 100644 --- a/sci-electronics/ng-spice-rework/ChangeLog +++ b/sci-electronics/ng-spice-rework/ChangeLog @@ -1,6 +1,12 @@ # 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.17 2007/05/26 20:57:56 calchan Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ng-spice-rework/ChangeLog,v 1.18 2008/12/10 16:27:25 calchan Exp $ + +*ng-spice-rework-18 (10 Dec 2008) + + 10 Dec 2008; Denis Dupeyron <calchan@gentoo.org> + +files/ng-spice-rework-18-src_makefile.patch, +ng-spice-rework-18.ebuild: + Version bump, bug #249949. *ng-spice-rework-17-r2 (26 May 2007) diff --git a/sci-electronics/ng-spice-rework/Manifest b/sci-electronics/ng-spice-rework/Manifest index cf001661b668..9729dab30192 100644 --- a/sci-electronics/ng-spice-rework/Manifest +++ b/sci-electronics/ng-spice-rework/Manifest @@ -1,4 +1,5 @@ AUX ng-spice-rework-15.gcc-3.4.patch 804 RMD160 d5dff5f8e39d828b6eb189dc6fe84141628c9f43 SHA1 f8e5e6956315959e0016c7252ace1996b720ecdf SHA256 788ab5054992038777aafd2dad2fe9307f9352c7d9600e91dd1aa7e273870a2a +AUX ng-spice-rework-18-src_makefile.patch 955 RMD160 dcc58a27fa58a0d6efc2523c46d62e32ffe52a3c SHA1 82cd4f457c5b86d8bf2614f42d38c444a7c453ce SHA256 601f63cf6b64a2fa0d76dae28aa11ef2d6930d5a972dfa71c42486466b500854 AUX ng-spice-rework-com_let.patch 504 RMD160 cba8324b3a157936f9014f1d4aabbf8051c4d415 SHA1 14763d9a1bfcf6269b9b5aee36b30dd36a2b2157 SHA256 37b61f085883fe53896c04bbad22c4134dc47ad62697ba5c55674c3d2f6418a8 AUX ng-spice-rework-numparam.patch 1335 RMD160 b181c90de971e08c931d03cb14a91263fc7585da SHA1 ce1b75c38e7d2d46472adae70bdf6c85a08c4dc9 SHA256 85d93abd480187e5ab62544b37067ec3910beb4e674c6afe64e901c58cc65be0 AUX ng-spice-rework-pipemode.patch 1462 RMD160 466a50ed92c0c8bd922a5e270ce5cc73097a0ae4 SHA1 7f7362e98a226698c6ce3a93a5c971d4cce54d81 SHA256 6cbe5d9b8ab667e628a2d98242457b864c1951067327da1c1e491a7af25ebb2b @@ -9,10 +10,12 @@ DIST XSpice_InterfaceDesignDoc_Sep92.pdf 1449807 RMD160 c64386eb40f63f0cc2b67382 DIST XSpice_SoftwareDesignDoc_Sep92.pdf 9675304 RMD160 bd987708a9c5d5e54854edda64988c279ba084e3 SHA1 d4da4f26b65393cc6fb185e7f474efbe97d9c685 SHA256 597fac4778aaf5d24697dbfc5fa5b550080dd123c783fd226ab1258243d8c3d8 DIST Xspice_Users_Manual.pdf 6662909 RMD160 6c0e5b1174811f4a598b0b6fd6cdd105e7970627 SHA1 9187e6c892972add140af5a027ab4b3227499fdd SHA256 6f1fbecb03d50517ee99fc7fc17023482a0b1bbec1ff862dab29bcdf361c7311 DIST ng-spice-rework-17.tar.gz 5919637 RMD160 2345cbdb608bfb182d33c1a6497408b22acffb77 SHA1 5ce17a6dff309fae069e0b1e7309eb1c16b4671b SHA256 58ec02a0ab48369724c9e98f9a6aa3e0f400ae7b361ba194f4bf06d1420f4496 +DIST ng-spice-rework-18.tar.gz 7061554 RMD160 e123c97060ce427ff11e6859b61dbd471ebf0cf9 SHA1 fd97cf87e164ad5b9f8ff8c73cfcef4480c4047e SHA256 1ae8ff5db42a0ca89803faed17fca75836f7c4f8dc026530efabc57eb4956954 DIST ngspice-rework15.tgz 4813438 RMD160 09daf48b42ac2fb7c763cf1ceeda209f02a9e08f SHA1 4b6674c3342b69c573fce16e727c6f498286c2ad SHA256 3abd75c2dc73a59ea8f09b2108a5a2be34aae0b457a0d73eeb407aa14a413a3c EBUILD ng-spice-rework-15.ebuild 1031 RMD160 b4789fadd7cd927322f629d2b690d769a5b5b2b9 SHA1 deb69d8f2c949fd00e56620c4c565e9ed7ac7e03 SHA256 01b0672d4550543c19ad9ff9def0961c43d892384b8744bb4c0e328a43c8b76d EBUILD ng-spice-rework-17-r1.ebuild 1546 RMD160 d78b87544c696bc5e505e5816441d2b8814f76c5 SHA1 140c24ada8e70c06801d8bc7dc4e00d94eca69c0 SHA256 55cf9012521c635c6c9fafc401b8ea83db4dc5e16bf1dc645a93d3aa5b0f0aa6 EBUILD ng-spice-rework-17-r2.ebuild 3047 RMD160 5ef28cb77f35555d78db6980b17599b66a748890 SHA1 224930d65fc3df6344885b424b3f7fa3e7f0f5fa SHA256 f14e4f99f7ecd1538782547888b68bdf7df42aa94412fe1a2c127503aa51c314 +EBUILD ng-spice-rework-18.ebuild 3030 RMD160 ab3c27f76b02bfb61ae2f3ce47b9fb9d00fa13a3 SHA1 a6273bf40261cf7f4b76f3e83f2331b54f56acc4 SHA256 57aa9369bbd073e841b900d3a85229035b465fa19897c6110ae0d2d0a467bc28 EBUILD ng-spice-rework-9999.ebuild 1795 RMD160 c9eb7cd0d982928e278d0097f097986f3380c348 SHA1 e4da4730f297c35dc270b0bb19daaa54a3063df6 SHA256 7aefe7e875df2a93f1b009b9a6a74a82dbda3912e1cd693f8a256b019435139e -MISC ChangeLog 3583 RMD160 7ff3fc145e57243804e1f822149b4c111b2733e6 SHA1 5eb6986905591da610c5a2935fee3e9410ba7d9a SHA256 28fa9050b948e8ef8d85566905495f10c4a86d5f239c2685eed68ccc65405961 +MISC ChangeLog 3775 RMD160 8834a2803576961034e6b37f8238a4501a721a76 SHA1 2baeddfd3b340b3e799dde53dff38b0c8d4e6f78 SHA256 3f9e882c3b3830daa76ccf6bd8ee69016a3714a8fede2452c6f1e0f04519bf53 MISC metadata.xml 361 RMD160 6a0aea151a531b83b4df35307363793de698bc16 SHA1 3e5c1bc6ec70c652533c17535a248e06577be702 SHA256 0cb29147232be6569c365b9e694962c7b606a81ce4c4ce7b404a937378a1d0b8 diff --git a/sci-electronics/ng-spice-rework/files/ng-spice-rework-18-src_makefile.patch b/sci-electronics/ng-spice-rework/files/ng-spice-rework-18-src_makefile.patch new file mode 100644 index 000000000000..7b99c9fbcfb0 --- /dev/null +++ b/sci-electronics/ng-spice-rework/files/ng-spice-rework-18-src_makefile.patch @@ -0,0 +1,24 @@ +diff -Ndur ng-spice-rework-18.orig/src/Makefile.am ng-spice-rework-18/src/Makefile.am +--- ng-spice-rework-18.orig/src/Makefile.am 2008-11-26 10:40:16.000000000 +0100 ++++ ng-spice-rework-18/src/Makefile.am 2008-12-09 14:43:19.000000000 +0100 +@@ -127,7 +127,10 @@ + winmain.o: winmain.c + $(COMPILE) -DSIMULATOR -o winmain.o -c $(srcdir)/winmain.c + +-spice.lo: main.c ++mkdepdir: ++ test -d $(DEPDIR) || mkdir $(DEPDIR) ++ ++spice.lo: main.c mkdepdir + $(LTCOMPILE) -DSIMULATOR -MT spice.lo -MD -MP -MF $(DEPDIR)/spice.Tpo -c -o spice.o $< + mv -f $(DEPDIR)/spice.Tpo $(DEPDIR)/spice.Plo + +@@ -302,7 +305,7 @@ + $(mkinstalldirs) $(DESTDIR)$(libdir)/spice + $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(libdir)/spice + +-tclspice.lo: tclspice.c ++tclspice.lo: tclspice.c mkdepdir + $(LTCOMPILE) -DTCLSPICE_version="\"$(TCLSPICE_VERSION)\"" -MT tclspice.lo -MD -MP -MF $(DEPDIR)/tclspice.Tpo -c -o tclspice.o $< + mv -f $(DEPDIR)/tclspice.Tpo $(DEPDIR)/tclspice.Plo + diff --git a/sci-electronics/ng-spice-rework/ng-spice-rework-18.ebuild b/sci-electronics/ng-spice-rework/ng-spice-rework-18.ebuild new file mode 100644 index 000000000000..64ffddd5cfa5 --- /dev/null +++ b/sci-electronics/ng-spice-rework/ng-spice-rework-18.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2008 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-18.ebuild,v 1.1 2008/12/10 16:27:25 calchan Exp $ + +inherit eutils autotools + +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}" + rm -rf xgraph + epatch "${FILESDIR}"/${PN}-postscript.patch + epatch "${FILESDIR}"/${P}-src_makefile.patch + sed -i -e 's/\-O2//' configure.in || die "sed failed" + 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 + eautoreconf +} + +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 +} |