summaryrefslogtreecommitdiff
path: root/app-office/sc/sc-7.16-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-20 14:45:01 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-20 14:45:01 +0100
commit34dea8e38f88007799629d0a56b12dec480b1d21 (patch)
tree6790873994b58030360328cf5897d934b3b03d16 /app-office/sc/sc-7.16-r2.ebuild
parent7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff)
gentoo resync : 20.06.2021
Diffstat (limited to 'app-office/sc/sc-7.16-r2.ebuild')
-rw-r--r--app-office/sc/sc-7.16-r2.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/app-office/sc/sc-7.16-r2.ebuild b/app-office/sc/sc-7.16-r2.ebuild
deleted file mode 100644
index cfd4d64222b7..000000000000
--- a/app-office/sc/sc-7.16-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit 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}
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-amd64.patch
- "${FILESDIR}"/${P}-lex-syntax.patch
- "${FILESDIR}"/${P}-c.patch
- "${FILESDIR}"/${P}-printf.patch
-)
-
-src_prepare() {
- default
-
- 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
-
- eapply_user
-}
-
-src_compile() {
- tc-export PKG_CONFIG
- # no autoconf
- emake prefix="${D}"/usr
-
- emake ${PN}.1
- sed -i -e "s:${D}::g" sc.1 || die
-}
-
-src_install() {
- dodir /usr/bin
- dodir /usr/$(get_libdir)/sc
- dodir /usr/share/man/man1
-
- emake install
-
- doman sc.1 psc.1
-
- dodoc CHANGES README tutorial.sc
- dodoc VMS_NOTES ${P}.lsm TODO SC.MACROS
-}