1 |
commit: d7aa4284f78b05a1f504631aedf95a95c2c8fc7f |
2 |
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 19 06:27:24 2023 +0000 |
4 |
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 06:49:33 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aa4284 |
7 |
|
8 |
net-dialup/minicom: update EAPI 7 -> 8 |
9 |
|
10 |
Remove weird /etc/minicom/minirc.dfl logic. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/885709 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/30228 |
14 |
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> |
15 |
|
16 |
net-dialup/minicom/minicom-2.8-r2.ebuild | 60 ++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 60 insertions(+) |
18 |
|
19 |
diff --git a/net-dialup/minicom/minicom-2.8-r2.ebuild b/net-dialup/minicom/minicom-2.8-r2.ebuild |
20 |
new file mode 100644 |
21 |
index 000000000000..6a31287bdcb2 |
22 |
--- /dev/null |
23 |
+++ b/net-dialup/minicom/minicom-2.8-r2.ebuild |
24 |
@@ -0,0 +1,60 @@ |
25 |
+# Copyright 1999-2023 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=8 |
29 |
+ |
30 |
+inherit autotools |
31 |
+ |
32 |
+DESCRIPTION="Serial Communication Program" |
33 |
+HOMEPAGE="https://salsa.debian.org/minicom-team/minicom" |
34 |
+SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/${PV}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
39 |
+IUSE="nls" |
40 |
+ |
41 |
+DEPEND="sys-libs/ncurses:=" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ ${DEPEND} |
45 |
+ net-dialup/lrzsz |
46 |
+" |
47 |
+ |
48 |
+BDEPEND=" |
49 |
+ virtual/pkgconfig |
50 |
+ nls? ( sys-devel/gettext ) |
51 |
+" |
52 |
+ |
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${PN}-2.8-gentoo-runscript.patch |
55 |
+ "${FILESDIR}"/${PN}-2.8-lockdir.patch |
56 |
+) |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ # Lockdir must exist if not manually specified. |
65 |
+ # '/var/lock' is created by OpenRC. |
66 |
+ local myeconfargs=( |
67 |
+ # See bug #788142 |
68 |
+ --sysconfdir="${EPREFIX}"/etc/${PN} |
69 |
+ |
70 |
+ --disable-rpath |
71 |
+ --enable-lock-dir="/var/lock" |
72 |
+ $(use_enable nls) |
73 |
+ ) |
74 |
+ |
75 |
+ econf "${myeconfargs[@]}" |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ default |
80 |
+ |
81 |
+ # Needs to match --sysconfdir above |
82 |
+ insinto /etc/minicom |
83 |
+ doins "${FILESDIR}"/minirc.dfl |
84 |
+} |