1 |
commit: e5769ea2c5d6bc6b2461c79882b126e907f8173b |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 16 12:58:55 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 16 13:06:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5769ea2 |
7 |
|
8 |
net-libs/libcrafter: Update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-libs/libcrafter/libcrafter-9999.ebuild | 15 ++++++++++----- |
14 |
1 file changed, 10 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libcrafter/libcrafter-9999.ebuild b/net-libs/libcrafter/libcrafter-9999.ebuild |
17 |
index 1aac305c3cc..16291e48909 100644 |
18 |
--- a/net-libs/libcrafter/libcrafter-9999.ebuild |
19 |
+++ b/net-libs/libcrafter/libcrafter-9999.ebuild |
20 |
@@ -1,10 +1,10 @@ |
21 |
# Copyright 1999-2020 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
-inherit autotools eutils git-r3 ltprune |
26 |
+EAPI=7 |
27 |
+inherit autotools git-r3 |
28 |
|
29 |
-DESCRIPTION="a high level library for C++ designed to make easier the creation and decoding of network packets" |
30 |
+DESCRIPTION="A high level C++ network packet sniffing and crafting library" |
31 |
HOMEPAGE="https://github.com/pellegre/libcrafter" |
32 |
EGIT_REPO_URI="https://github.com/pellegre/${PN}" |
33 |
|
34 |
@@ -19,10 +19,13 @@ RDEPEND=" |
35 |
DEPEND=" |
36 |
${RDEPEND} |
37 |
" |
38 |
- |
39 |
+PATCHES=( |
40 |
+ "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch |
41 |
+) |
42 |
S=${WORKDIR}/${P}/${PN} |
43 |
|
44 |
src_prepare() { |
45 |
+ default |
46 |
eautoreconf |
47 |
} |
48 |
|
49 |
@@ -33,5 +36,7 @@ src_configure() { |
50 |
src_install() { |
51 |
default |
52 |
|
53 |
- prune_libtool_files |
54 |
+ dodoc "${WORKDIR}"/${P}/README |
55 |
+ |
56 |
+ find "${ED}" -name '*.la' -delete || die |
57 |
} |