1 |
commit: f1cae180105caee08f9320f73236efe25127b45f |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Tue Aug 18 10:12:25 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 19 14:33:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1cae180 |
7 |
|
8 |
net-libs/libtelnet: do not install '.a' files |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725014 |
11 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
12 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
net-libs/libtelnet/libtelnet-0.21.ebuild | 29 +++++++++++++---------------- |
16 |
1 file changed, 13 insertions(+), 16 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/libtelnet/libtelnet-0.21.ebuild b/net-libs/libtelnet/libtelnet-0.21.ebuild |
19 |
index a607c506fd6..758f7e176b2 100644 |
20 |
--- a/net-libs/libtelnet/libtelnet-0.21.ebuild |
21 |
+++ b/net-libs/libtelnet/libtelnet-0.21.ebuild |
22 |
@@ -1,28 +1,20 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=5 |
28 |
-inherit eutils autotools |
29 |
+ |
30 |
+inherit autotools eutils |
31 |
+ |
32 |
DESCRIPTION="Simple RFC-complient TELNET implementation as a C library" |
33 |
HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" |
34 |
+SRC_URI="https://github.com/seanmiddleditch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
35 |
|
36 |
-if [ ${PV} = 9999 ]; then |
37 |
- KEYWORDS="" |
38 |
- EGIT_REPO_URI="https://github.com/seanmiddleditch/${PN}.git" |
39 |
- inherit git-2 |
40 |
- DEPEND="dev-vcs/git" |
41 |
- S="${WORKDIR}/${PN}-master" |
42 |
-else |
43 |
- KEYWORDS="~amd64 ~x86" |
44 |
- SRC_URI="https://github.com/seanmiddleditch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
-fi |
46 |
+LICENSE="public-domain" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
|
50 |
WANT_AUTOMAKE=1.11 |
51 |
DEPEND="${DEPEND} sys-devel/automake:${WANT_AUTOMAKE}" |
52 |
-LICENSE="public-domain" |
53 |
-SLOT="0" |
54 |
-IUSE="" |
55 |
-RDEPEND="" |
56 |
|
57 |
src_prepare() { |
58 |
_elibtoolize |
59 |
@@ -31,3 +23,8 @@ src_prepare() { |
60 |
eautoheader |
61 |
eautomake |
62 |
} |
63 |
+ |
64 |
+src_install() { |
65 |
+ default |
66 |
+ find "${D}" -type f -name '*.a' -delete || die |
67 |
+} |