Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 543852 Details for
Bug 663912
sci-electronics/gnucap: EAPI7 revbump, improved ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gnucap.patch
gnucap.patch (text/plain), 2.31 KB, created by
Michael Mair-Keimberger (iamnr3)
on 2018-08-17 19:51:32 UTC
(
hide
)
Description:
gnucap.patch
Filename:
MIME Type:
Creator:
Michael Mair-Keimberger (iamnr3)
Created:
2018-08-17 19:51:32 UTC
Size:
2.31 KB
patch
obsolete
>diff --git a/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild >new file mode 100644 >index 00000000000..fd670472bd3 >--- /dev/null >+++ b/sci-electronics/gnucap/gnucap-0.35.20091207-r1.ebuild >@@ -0,0 +1,79 @@ >+# Copyright 1999-2018 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=7 >+ >+inherit toolchain-funcs flag-o-matic >+ >+SNAPSHOTDATE="${P##*.}" >+MY_PV="${PN}-${SNAPSHOTDATE:0:4}-${SNAPSHOTDATE:4:2}-${SNAPSHOTDATE:6:2}" >+ >+DESCRIPTION="The GNU Circuit Analysis Package" >+HOMEPAGE="http://www.gnucap.org/" >+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" >+ >+IUSE="examples" >+SLOT="0" >+LICENSE="GPL-2" >+KEYWORDS="~amd64 ~ppc ~x86" >+ >+S="${WORKDIR}/${MY_PV}" >+ >+src_prepare() { >+ default >+ # 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" >+ >+ tc-export CC CXX >+ append-cxxflags -std=gnu++98 >+} >+ >+src_compile () { >+ emake >+ for PLUGIN_DIR in models-* ; do >+ cd "${S}/${PLUGIN_DIR}" || die >+ emake CC=$(tc-getCC) CCC=$(tc-getCXX) >+ done >+} >+ >+src_install () { >+ default >+ >+ insopts -m0755 >+ for PLUGIN_DIR in models-* ; do >+ insinto /usr/$(get_libdir)/gnucap/${PLUGIN_DIR} >+ cd "${S}/${PLUGIN_DIR}" || die >+ for PLUGIN in */*.so ; do >+ newins ${PLUGIN} ${PLUGIN##*/} >+ done >+ done >+} >+ >+pkg_postinst() { >+ elog "Documentation for development releases is now available at :" >+ elog " http://wiki.gnucap.org/dokuwiki/doku.php?id=gnucap:manual" >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 663912
: 543852