summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-16 14:58:55 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-16 15:06:56 +0200
commite5769ea2c5d6bc6b2461c79882b126e907f8173b (patch)
treec0c990646bdd8c48026b6b3bfec7a500414af86a /net-libs/libcrafter
parentnet-libs/libcrafter: Version 1.0 (diff)
downloadgentoo-e5769ea2c5d6bc6b2461c79882b126e907f8173b.tar.gz
gentoo-e5769ea2c5d6bc6b2461c79882b126e907f8173b.tar.bz2
gentoo-e5769ea2c5d6bc6b2461c79882b126e907f8173b.zip
net-libs/libcrafter: Update live ebuild
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libcrafter')
-rw-r--r--net-libs/libcrafter/libcrafter-9999.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/net-libs/libcrafter/libcrafter-9999.ebuild b/net-libs/libcrafter/libcrafter-9999.ebuild
index 1aac305c3cc0..16291e489096 100644
--- a/net-libs/libcrafter/libcrafter-9999.ebuild
+++ b/net-libs/libcrafter/libcrafter-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils git-r3 ltprune
+EAPI=7
+inherit autotools git-r3
-DESCRIPTION="a high level library for C++ designed to make easier the creation and decoding of network packets"
+DESCRIPTION="A high level C++ network packet sniffing and crafting library"
HOMEPAGE="https://github.com/pellegre/libcrafter"
EGIT_REPO_URI="https://github.com/pellegre/${PN}"
@@ -19,10 +19,13 @@ RDEPEND="
DEPEND="
${RDEPEND}
"
-
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch
+)
S=${WORKDIR}/${P}/${PN}
src_prepare() {
+ default
eautoreconf
}
@@ -33,5 +36,7 @@ src_configure() {
src_install() {
default
- prune_libtool_files
+ dodoc "${WORKDIR}"/${P}/README
+
+ find "${ED}" -name '*.la' -delete || die
}