1 |
commit: 9193b2bbb15ff0e2ae44f77f87f40de1bb8952f0 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 10 16:39:14 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 10 16:45:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9193b2bb |
7 |
|
8 |
app-text/tofrodos: bump to v1.7.13 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
app-text/tofrodos/Manifest | 1 + |
14 |
.../tofrodos/files/tofrodos-1.7.13-CFLAGS.patch | 13 +++++++++ |
15 |
app-text/tofrodos/tofrodos-1.7.13.ebuild | 33 ++++++++++++++++++++++ |
16 |
3 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/app-text/tofrodos/Manifest b/app-text/tofrodos/Manifest |
19 |
index 8c602e9d6ec..36d611cc515 100644 |
20 |
--- a/app-text/tofrodos/Manifest |
21 |
+++ b/app-text/tofrodos/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST tofrodos-1.7.12a.tar.gz 97588 BLAKE2B ca8794df5b58e0e88d23a52287ec3f9c58918baa6590b6e2d571782c4c2ff1625e208648cce8346b2f63b52031da5dd3aff0e66522e670525cdc09bdfd8744b0 SHA512 45a03203ccd053ec02a420fe4a63b427ee74dfa2c30e914836621a1cd7836ce81800e8bd5f1cccdb93233780ce79bc74d4ad49dca6192899b3039cf559baa8a2 |
24 |
+DIST tofrodos-1.7.13.tar.gz 99975 BLAKE2B 677b5cf7b1ef061b86a60229e083dc19ddcb7887b1319685ccd5a50493c1f02feb8556db3c2866f3ca1851304d0e97592a8abdd880a5f4e70eb7032f4238445d SHA512 629804caf20ac7bfc6f47637b7bc575766f032e324142df3be14347f050c61d969e023f8fed0ce5c87d8fc57b25c60c4e0214600738c5079d5e731045dae4843 |
25 |
|
26 |
diff --git a/app-text/tofrodos/files/tofrodos-1.7.13-CFLAGS.patch b/app-text/tofrodos/files/tofrodos-1.7.13-CFLAGS.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..dafdf66838e |
29 |
--- /dev/null |
30 |
+++ b/app-text/tofrodos/files/tofrodos-1.7.13-CFLAGS.patch |
31 |
@@ -0,0 +1,13 @@ |
32 |
+--- a/Makefile |
33 |
++++ b/Makefile |
34 |
+@@ -56,10 +56,6 @@ OBJS = emsg.o \ |
35 |
+ tofrodos.o \ |
36 |
+ utility.o |
37 |
+ |
38 |
+-# implicit rules |
39 |
+-.c.o: |
40 |
+- $(CC) $(CFLAGS) $< |
41 |
+- |
42 |
+ # user visible rules |
43 |
+ all: $(FROMDOS) $(TODOS) |
44 |
+ |
45 |
|
46 |
diff --git a/app-text/tofrodos/tofrodos-1.7.13.ebuild b/app-text/tofrodos/tofrodos-1.7.13.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..23f51043153 |
49 |
--- /dev/null |
50 |
+++ b/app-text/tofrodos/tofrodos-1.7.13.ebuild |
51 |
@@ -0,0 +1,33 @@ |
52 |
+# Copyright 1999-2018 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI="7" |
56 |
+ |
57 |
+inherit toolchain-funcs |
58 |
+ |
59 |
+DESCRIPTION="Utility that converts ASCII files between the MSDOS and the Unix format" |
60 |
+HOMEPAGE="http://tofrodos.sourceforge.net/" |
61 |
+SRC_URI="http://tofrodos.sourceforge.net/download/${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="GPL-2" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~arm ~hppa ~x86" |
66 |
+IUSE="" |
67 |
+ |
68 |
+DEPEND="" |
69 |
+RDEPEND="" |
70 |
+ |
71 |
+S="${WORKDIR}/${PN}/src" |
72 |
+ |
73 |
+PATCHES=( "${FILESDIR}"/${PN}-1.7.13-CFLAGS.patch ) |
74 |
+ |
75 |
+src_compile() { |
76 |
+ emake DEBUG=1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ |
77 |
+ CC="$(tc-getCC)" |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ dobin fromdos |
82 |
+ dosym fromdos /usr/bin/todos |
83 |
+ doman fromdos.1 |
84 |
+} |