1 |
commit: b650d7022dc2ae1767c9f1b6bc0932f2752f71b4 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 19 15:38:42 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 4 04:44:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b650d702 |
7 |
|
8 |
net-misc/smbc: EAPI=7 bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/686328 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
13 |
|
14 |
net-misc/smbc/smbc-1.2.2-r3.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/smbc/smbc-1.2.2-r3.ebuild b/net-misc/smbc/smbc-1.2.2-r3.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..87ebd6eea0a |
20 |
--- /dev/null |
21 |
+++ b/net-misc/smbc/smbc-1.2.2-r3.ebuild |
22 |
@@ -0,0 +1,41 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit autotools |
29 |
+ |
30 |
+DESCRIPTION="Text mode (ncurses) SMB network commander. Features: resume and UTF-8" |
31 |
+HOMEPAGE="https://sourceforge.net/projects/smbc/" |
32 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" |
33 |
+ |
34 |
+LICENSE="GPL-2+" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~ppc ~x86" |
37 |
+IUSE="nls debug" |
38 |
+ |
39 |
+DEPEND="dev-libs/popt |
40 |
+ net-fs/samba |
41 |
+ sys-libs/ncurses |
42 |
+ nls? ( sys-devel/gettext )" |
43 |
+RDEPEND="${DEPEND}" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ mv configure.{in,ac} || die |
48 |
+ eapply "${FILESDIR}"/${P}-cflags.patch |
49 |
+ eapply "${FILESDIR}"/${P}-size_t.patch |
50 |
+ eautoreconf |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ econf \ |
55 |
+ $(use_enable nls) \ |
56 |
+ $(use_with debug) |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ default |
61 |
+ mkdir -p "${D}/usr/share/doc" |
62 |
+ mv -v "${D}/usr/share/"{${PN},doc/${PF}} || die |
63 |
+} |