1 |
commit: 614da4cc786e199abee03cf61ece9d86ffd5539b |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 7 06:19:55 2019 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 7 06:19:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614da4cc |
7 |
|
8 |
app-text/cwtext: Bump to EAPI=7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/697370 |
11 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
12 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
13 |
|
14 |
app-text/cwtext/cwtext-0.96-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/app-text/cwtext/cwtext-0.96-r1.ebuild b/app-text/cwtext/cwtext-0.96-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..8ee194501b8 |
20 |
--- /dev/null |
21 |
+++ b/app-text/cwtext/cwtext-0.96-r1.ebuild |
22 |
@@ -0,0 +1,32 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+inherit toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="Text to Morse Code converter" |
30 |
+HOMEPAGE="http://cwtext.sourceforge.net" |
31 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
36 |
+IUSE="" |
37 |
+ |
38 |
+PATCHES=( "${FILESDIR}"/${PN}-0.94-asneeded.patch ) |
39 |
+DOCS=( Changes README TODO ) |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ eapply -p0 "${PATCHES}" |
43 |
+ # change install directory to ${S} |
44 |
+ sed -i -e "/^PREFIX/ s:=.*:=\"${S}\":" makefile || \ |
45 |
+ die "sed makefile failed" |
46 |
+ |
47 |
+ eapply_user |
48 |
+ tc-export CC |
49 |
+} |
50 |
+ |
51 |
+src_install() { |
52 |
+ einstalldocs |
53 |
+ dobin cwtext cwpcm cwmm |
54 |
+} |