1 |
commit: 724e88c098412f1c135989812ca572deaf02e14c |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 22 16:20:55 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 20 18:53:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=724e88c0 |
7 |
|
8 |
dev-libs/libezV24: fix LICENSE, EAPI=7 bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/686556 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/12082 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
dev-libs/libezV24/files/libezV24-0.1.1-test.patch | 4 +-- |
16 |
dev-libs/libezV24/libezV24-0.1.1-r1.ebuild | 34 +++++++++++++++++++++++ |
17 |
dev-libs/libezV24/libezV24-0.1.1.ebuild | 4 +-- |
18 |
3 files changed, 38 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/libezV24/files/libezV24-0.1.1-test.patch b/dev-libs/libezV24/files/libezV24-0.1.1-test.patch |
21 |
index f3c2b676546..425c3203656 100644 |
22 |
--- a/dev-libs/libezV24/files/libezV24-0.1.1-test.patch |
23 |
+++ b/dev-libs/libezV24/files/libezV24-0.1.1-test.patch |
24 |
@@ -4,8 +4,8 @@ RCS file: /cvsroot/ezv24/libezv24/test-v24.c,v |
25 |
retrieving revision 1.2 |
26 |
retrieving revision 1.3 |
27 |
diff -u -p -r1.2 -r1.3 |
28 |
---- test-v24.c 11 Feb 2003 13:29:43 -0000 1.2 |
29 |
-+++ test-v24.c 13 Oct 2003 07:50:26 -0000 1.3 |
30 |
+--- a/test-v24.c 11 Feb 2003 13:29:43 -0000 1.2 |
31 |
++++ b/test-v24.c 13 Oct 2003 07:50:26 -0000 1.3 |
32 |
@@ -30,7 +33,11 @@ |
33 |
#include <string.h> |
34 |
#include <signal.h> |
35 |
|
36 |
diff --git a/dev-libs/libezV24/libezV24-0.1.1-r1.ebuild b/dev-libs/libezV24/libezV24-0.1.1-r1.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..b6b2424b2a9 |
39 |
--- /dev/null |
40 |
+++ b/dev-libs/libezV24/libezV24-0.1.1-r1.ebuild |
41 |
@@ -0,0 +1,34 @@ |
42 |
+# Copyright 1999-2019 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=7 |
46 |
+ |
47 |
+inherit toolchain-funcs |
48 |
+ |
49 |
+DESCRIPTION="library that provides an easy API to Linux serial ports" |
50 |
+HOMEPAGE="http://ezv24.sourceforge.net" |
51 |
+SRC_URI="mirror://sourceforge/ezv24/${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="GPL-2+" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
56 |
+ |
57 |
+HTML_DOCS=( api-html/. ) |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${P}-build.patch |
61 |
+ "${FILESDIR}"/${P}-test.patch |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ tc-export AR CC RANLIB |
66 |
+ default |
67 |
+ sed -i -e 's:__LINUX__:__linux__:' *.c *.h || die |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ export NO_LDCONFIG="stupid" |
72 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \ |
73 |
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" install |
74 |
+ einstalldocs |
75 |
+} |
76 |
|
77 |
diff --git a/dev-libs/libezV24/libezV24-0.1.1.ebuild b/dev-libs/libezV24/libezV24-0.1.1.ebuild |
78 |
index db6b724d1f4..30ac27fe878 100644 |
79 |
--- a/dev-libs/libezV24/libezV24-0.1.1.ebuild |
80 |
+++ b/dev-libs/libezV24/libezV24-0.1.1.ebuild |
81 |
@@ -1,4 +1,4 @@ |
82 |
-# Copyright 1999-2018 Gentoo Foundation |
83 |
+# Copyright 1999-2019 Gentoo Authors |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
|
86 |
EAPI=0 |
87 |
@@ -9,7 +9,7 @@ DESCRIPTION="library that provides an easy API to Linux serial ports" |
88 |
HOMEPAGE="http://ezv24.sourceforge.net" |
89 |
SRC_URI="mirror://sourceforge/ezv24/${P}.tar.gz" |
90 |
|
91 |
-LICENSE="GPL-2" |
92 |
+LICENSE="GPL-2+" |
93 |
SLOT="0" |
94 |
KEYWORDS="alpha amd64 ppc sparc x86" |
95 |
IUSE="" |