summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-05-21 09:49:23 +0200
committerAaron Bauman <bman@gentoo.org>2018-05-21 13:03:54 -0400
commitae4064db580da0b6199a5d141b6466ead77e17a9 (patch)
tree6d56876d6b1429a8ab50810416f62c874374501d /sci-electronics/spice
parentsys-auth/openpam: remove old (diff)
downloadgentoo-ae4064db580da0b6199a5d141b6466ead77e17a9.tar.gz
gentoo-ae4064db580da0b6199a5d141b6466ead77e17a9.tar.bz2
gentoo-ae4064db580da0b6199a5d141b6466ead77e17a9.zip
sci-electronics/spice: remove old
Closes: https://github.com/gentoo/gentoo/pull/8509
Diffstat (limited to 'sci-electronics/spice')
-rw-r--r--sci-electronics/spice/spice-3.5.5-r1.ebuild70
1 files changed, 0 insertions, 70 deletions
diff --git a/sci-electronics/spice/spice-3.5.5-r1.ebuild b/sci-electronics/spice/spice-3.5.5-r1.ebuild
deleted file mode 100644
index 7d19e22dfe34..000000000000
--- a/sci-electronics/spice/spice-3.5.5-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils flag-o-matic multilib
-
-IUSE=""
-
-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
- x11-libs/libXaw
- >=app-misc/editor-wrapper-3"
-
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- # spice accepts -O1 at most
- replace-flags -O* -O1
-
- unpack ${A}
- cd "${S}"
- # 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
- epatch "${FILESDIR}"/${P}-gcc-4.1.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
-}
-
-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} || die "failed to copy binaries"
- newbin obj/bin/help spice.help || die
- dosym /usr/bin/spice3 /usr/bin/spice || die
- # install runtime stuff
- rm -f lib/make*
- dodir /usr/$(get_libdir)/spice || die
- cp -R lib/* "${D}"/usr/$(get_libdir)/spice/ || die "failed to copy libraries"
- # install docs
- doman man/man1/*.1 || die
- dodoc readme readme.Linux notes/spice2 || die
-}