1 |
commit: 04fb7b4ab5db121398db6c77ebd88422ee6e8bc5 |
2 |
Author: Jonas Stein <jstein <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 27 13:18:19 2017 +0000 |
4 |
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 27 13:18:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fb7b4a |
7 |
|
8 |
app-misc/ttyrec: Bump to EAPI=6, cleaned ebuild |
9 |
|
10 |
The Makefile was patched not ideally and was never used |
11 |
* repaired Makefile |
12 |
* bumped to EAPI=6 |
13 |
* cleaned ebuild |
14 |
|
15 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
16 |
|
17 |
app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch | 19 +++++++++++++++++++ |
18 |
app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild | 21 +++++++++++++++++++++ |
19 |
2 files changed, 40 insertions(+) |
20 |
|
21 |
diff --git a/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch b/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch |
22 |
new file mode 100644 |
23 |
index 00000000000..34687d9b8b7 |
24 |
--- /dev/null |
25 |
+++ b/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch |
26 |
@@ -0,0 +1,19 @@ |
27 |
+--- a/Makefile 2017-08-26 11:47:02.981266309 +0200 |
28 |
++++ b/Makefile 2017-08-26 14:33:47.161600445 +0200 |
29 |
+@@ -10,13 +10,13 @@ |
30 |
+ all: $(TARGET) |
31 |
+ |
32 |
+ ttyrec: ttyrec.o io.o |
33 |
+- $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o |
34 |
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttyrec ttyrec.o io.o |
35 |
+ |
36 |
+ ttyplay: ttyplay.o io.o |
37 |
+- $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o |
38 |
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttyplay ttyplay.o io.o |
39 |
+ |
40 |
+ ttytime: ttytime.o io.o |
41 |
+- $(CC) $(CFLAGS) -o ttytime ttytime.o io.o |
42 |
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttytime ttytime.o io.o |
43 |
+ |
44 |
+ clean: |
45 |
+ rm -f *.o $(TARGET) ttyrecord *~ |
46 |
|
47 |
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..0d2cb545ef3 |
50 |
--- /dev/null |
51 |
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild |
52 |
@@ -0,0 +1,21 @@ |
53 |
+# Copyright 1999-2017 Gentoo Foundation |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=6 |
57 |
+ |
58 |
+inherit flag-o-matic toolchain-funcs |
59 |
+ |
60 |
+DESCRIPTION="The tty recorder provides tools to record and replay a terminal session." |
61 |
+HOMEPAGE="http://0xcc.net/ttyrec/" |
62 |
+SRC_URI="http://0xcc.net/ttyrec/${P}.tar.gz" |
63 |
+ |
64 |
+LICENSE="BSD" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
67 |
+PATCHES=( "${FILESDIR}/${P}-flags.patch" ) |
68 |
+ |
69 |
+src_install() { |
70 |
+ dobin ttyrec ttyplay ttytime |
71 |
+ dodoc README |
72 |
+ doman *.1 |
73 |
+} |