summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-02-15 10:06:10 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-02-15 10:06:10 +0300
commit7718a080c0ce3216628896030f5cf4eb963fd126 (patch)
tree2813b5cd3515227399f88b98bb9e2d10e630df69 /app-office/sc
parentapp-office/sc: amd64 stable wrt bug #676422 (diff)
downloadgentoo-7718a080c0ce3216628896030f5cf4eb963fd126.tar.gz
gentoo-7718a080c0ce3216628896030f5cf4eb963fd126.tar.bz2
gentoo-7718a080c0ce3216628896030f5cf4eb963fd126.zip
app-office/sc: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-office/sc')
-rw-r--r--app-office/sc/sc-7.16-r1.ebuild57
1 files changed, 0 insertions, 57 deletions
diff --git a/app-office/sc/sc-7.16-r1.ebuild b/app-office/sc/sc-7.16-r1.ebuild
deleted file mode 100644
index 46a5705bfb3b..000000000000
--- a/app-office/sc/sc-7.16-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Spreadsheet Calculator"
-SRC_URI="ftp://ibiblio.org/pub/Linux/apps/financial/spreadsheet/${P}.tar.gz"
-HOMEPAGE="http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
-
-SLOT="0"
-LICENSE="public-domain"
-KEYWORDS="amd64 ppc sparc x86"
-
-COMMON_DEPEND=">=sys-libs/ncurses-5.2"
-DEPEND="virtual/pkgconfig"
-RDEPEND="
- ${COMMON_DEPEND}
- !dev-lang/stratego"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-amd64.patch \
- "${FILESDIR}"/${P}-lex-syntax.patch
-
- sed -i \
- -e "/^prefix=/ s:/usr:${D}/usr:" \
- -e "/^MANDIR=/ s:${prefix}/man:${prefix}/share/man:" \
- -e "/^LIBDIR=/ s:${prefix}/lib:${prefix}/$(get_libdir):" \
- -e '/^LIB=/s|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses)|g' \
- -e "/^CC=/ s:gcc:$(tc-getCC):" \
- -e "/^CFLAGS/ s:=-DSYSV3 -O2 -pipe:+=-DSYSV3:" \
- -e "/strip/ s:^:#:g" \
- Makefile || die
-
-}
-
-src_compile() {
- tc-export PKG_CONFIG
- # no autoconf
- emake prefix="${D}"/usr || die
-}
-
-src_install () {
- # yes the makefile is so dumb it can't even make it's own dirs
- dodir /usr/bin
- dodir /usr/$(get_libdir)/sc
- dodir /usr/share/man/man1
- emake install
-
- sed -i -e "s:${D}::g" sc.1 || die
- doman sc.1 psc.1
-
- dodoc CHANGES README sc.doc psc.doc tutorial.sc
- dodoc VMS_NOTES ${P}.lsm TODO SC.MACROS
-}