summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 01:35:29 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:54:55 +0100
commitba14cdbc4b29b13900230de73b449ec36004025c (patch)
tree5b49c4c219b4f3143fbc4e4ba228716d76f3715f /net-analyzer
parentnet-analyzer/cryptcat: EAPI 7, eutils-- (diff)
downloadgentoo-ba14cdbc4b29b13900230de73b449ec36004025c.tar.gz
gentoo-ba14cdbc4b29b13900230de73b449ec36004025c.tar.bz2
gentoo-ba14cdbc4b29b13900230de73b449ec36004025c.zip
net-analyzer/dhcpdump: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/dhcpdump/dhcpdump-1.8.ebuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
index f846b315d95e..b7647756faa3 100644
--- a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
+++ b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="DHCP Packet Analyzer/tcpdump postprocessor"
HOMEPAGE="https://www.mavetju.org/unix/general.php"
@@ -12,20 +13,19 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm ~mips x86"
+# for pod2man
+BDEPEND="dev-lang/perl"
RDEPEND="net-libs/libpcap"
-DEPEND="
- ${RDEPEND}
- dev-lang/perl
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-Makefile.patch
- epatch "${FILESDIR}"/${P}-debian.patch
- epatch "${FILESDIR}"/${P}-endianness.patch
-}
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+ "${FILESDIR}"/${P}-debian.patch
+ "${FILESDIR}"/${P}-endianness.patch
+)
src_compile() {
- emake CC=$(tc-getCC)
+ emake CC="$(tc-getCC)"
}
src_install() {