1 |
commit: 7718a080c0ce3216628896030f5cf4eb963fd126 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 15 07:06:10 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 15 07:06:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7718a080 |
7 |
|
8 |
app-office/sc: Drop old |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-office/sc/sc-7.16-r1.ebuild | 57 ----------------------------------------- |
14 |
1 file changed, 57 deletions(-) |
15 |
|
16 |
diff --git a/app-office/sc/sc-7.16-r1.ebuild b/app-office/sc/sc-7.16-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 46a5705bfb3..00000000000 |
19 |
--- a/app-office/sc/sc-7.16-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,57 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils multilib toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="Spreadsheet Calculator" |
30 |
-SRC_URI="ftp://ibiblio.org/pub/Linux/apps/financial/spreadsheet/${P}.tar.gz" |
31 |
-HOMEPAGE="http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/" |
32 |
- |
33 |
-SLOT="0" |
34 |
-LICENSE="public-domain" |
35 |
-KEYWORDS="amd64 ppc sparc x86" |
36 |
- |
37 |
-COMMON_DEPEND=">=sys-libs/ncurses-5.2" |
38 |
-DEPEND="virtual/pkgconfig" |
39 |
-RDEPEND=" |
40 |
- ${COMMON_DEPEND} |
41 |
- !dev-lang/stratego" |
42 |
- |
43 |
-src_prepare() { |
44 |
- epatch \ |
45 |
- "${FILESDIR}"/${P}-amd64.patch \ |
46 |
- "${FILESDIR}"/${P}-lex-syntax.patch |
47 |
- |
48 |
- sed -i \ |
49 |
- -e "/^prefix=/ s:/usr:${D}/usr:" \ |
50 |
- -e "/^MANDIR=/ s:${prefix}/man:${prefix}/share/man:" \ |
51 |
- -e "/^LIBDIR=/ s:${prefix}/lib:${prefix}/$(get_libdir):" \ |
52 |
- -e '/^LIB=/s|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses)|g' \ |
53 |
- -e "/^CC=/ s:gcc:$(tc-getCC):" \ |
54 |
- -e "/^CFLAGS/ s:=-DSYSV3 -O2 -pipe:+=-DSYSV3:" \ |
55 |
- -e "/strip/ s:^:#:g" \ |
56 |
- Makefile || die |
57 |
- |
58 |
-} |
59 |
- |
60 |
-src_compile() { |
61 |
- tc-export PKG_CONFIG |
62 |
- # no autoconf |
63 |
- emake prefix="${D}"/usr || die |
64 |
-} |
65 |
- |
66 |
-src_install () { |
67 |
- # yes the makefile is so dumb it can't even make it's own dirs |
68 |
- dodir /usr/bin |
69 |
- dodir /usr/$(get_libdir)/sc |
70 |
- dodir /usr/share/man/man1 |
71 |
- emake install |
72 |
- |
73 |
- sed -i -e "s:${D}::g" sc.1 || die |
74 |
- doman sc.1 psc.1 |
75 |
- |
76 |
- dodoc CHANGES README sc.doc psc.doc tutorial.sc |
77 |
- dodoc VMS_NOTES ${P}.lsm TODO SC.MACROS |
78 |
-} |