diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-11 13:58:06 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-11 13:59:41 +0300 |
commit | 228b327d67dbc08eaa5d0197bc55967c44d4a3d5 (patch) | |
tree | fbe057393d05d89c3a492d7081979338423ce1a2 /sci-electronics | |
parent | sys-apps/paxctld: drop 1.2.3 (diff) | |
download | gentoo-228b327d67dbc08eaa5d0197bc55967c44d4a3d5.tar.gz gentoo-228b327d67dbc08eaa5d0197bc55967c44d4a3d5.tar.bz2 gentoo-228b327d67dbc08eaa5d0197bc55967c44d4a3d5.zip |
sci-electronics/spice: drop 3.5.5-r3, EAPI6--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/spice/spice-3.5.5-r3.ebuild | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/sci-electronics/spice/spice-3.5.5-r3.ebuild b/sci-electronics/spice/spice-3.5.5-r3.ebuild deleted file mode 100644 index 3228789e8fc9..000000000000 --- a/sci-electronics/spice/spice-3.5.5-r3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic toolchain-funcs - -MY_P="spice3f5sfix" -DESCRIPTION="general-purpose circuit simulation program" -HOMEPAGE="http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/" -SRC_URI="http://www.ibiblio.org/pub/Linux/apps/circuits/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" - -RDEPEND="sys-libs/ncurses:0= - x11-libs/libXaw - >=app-misc/editor-wrapper-3" - -DEPEND="${RDEPEND} - virtual/pkgconfig - x11-base/xorg-proto - " - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # spice accepts -O1 at most - replace-flags -O* -O1 - - # Avoid re-creating WORKDIR due to stupid mtime - touch .. - - sed -i -e "s:termcap:ncurses:g" \ - -e "s:joe:/usr/libexec/editor:g" \ - -e "s:-O2 -s:${CFLAGS}:g" \ - -e "s:-lncurses -lm -s:-lncurses -lm ${LDFLAGS}:" \ - -e "s:SPICE_DIR)/lib:SPICE_DIR)/$(get_libdir)/spice:g" \ - -e "s:/usr/local/spice:/usr:g" \ - -e "s:/X11R6::" \ - conf/linux || die - sed -i -e "s:head -1:head -n 1:" util/build || die - eapply "${FILESDIR}"/${P}-gcc-4.1.patch - # Bug https://bugs.gentoo.org/783192 - eapply "${FILESDIR}"/${P}-arlocal.patch - - # fix possible buffer overflow (bug #339539) - sed -i -e "s:fgets(buf, BSIZE_SP:fgets(buf, sizeof(buf):g" \ - src/lib/fte/misccoms.c || die - - # fix missing libtinfo if ncurses compiled with USE=tinfo (bug #605718) - sed -i -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" conf/linux || die - - eapply_user -} - -src_compile() { - ./util/build linux || die "build failed" - obj/bin/makeidx lib/helpdir/spice.txt || die "makeidx failed" -} - -src_install() { - # install binaries - dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod} - newbin obj/bin/help spice.help - dosym spice3 /usr/bin/spice - # install runtime stuff - rm -f lib/make* - dodir /usr/$(get_libdir)/spice - cp -R lib/* "${D}"/usr/$(get_libdir)/spice/ || die "failed to copy libraries" - # install docs - doman man/man1/*.1 - dodoc readme readme.Linux notes/spice2 -} |