diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 21:00:32 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-21 21:00:32 +0200 |
commit | 9256afcfd6d5d1f6a47887bb21ac5c0fb8f8229f (patch) | |
tree | 7911acb9983f6bcb50d9c1ce5a55899f1186fa3f /net-analyzer | |
parent | net-analyzer/iplog: drop 2.2.3-r2 (diff) | |
download | gentoo-9256afcfd6d5d1f6a47887bb21ac5c0fb8f8229f.tar.gz gentoo-9256afcfd6d5d1f6a47887bb21ac5c0fb8f8229f.tar.bz2 gentoo-9256afcfd6d5d1f6a47887bb21ac5c0fb8f8229f.zip |
net-analyzer/zniper: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/zniper/zniper-1.0-r3.ebuild (renamed from net-analyzer/zniper/zniper-1.0-r2.ebuild) | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net-analyzer/zniper/zniper-1.0-r2.ebuild b/net-analyzer/zniper/zniper-1.0-r3.ebuild index e96de82264dd..0e1f35b7ba21 100644 --- a/net-analyzer/zniper/zniper-1.0-r2.ebuild +++ b/net-analyzer/zniper/zniper-1.0-r3.ebuild @@ -1,12 +1,14 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 + inherit toolchain-funcs DESCRIPTION="Displays and kill active TCP connections seen by the selected interface" HOMEPAGE="http://www.signedness.org/tools/" SRC_URI="https://dev.gentoo.org/~jsmolic/distfiles/${P}.tgz" +S="${WORKDIR}/zniper" LICENSE="BSD" SLOT="0" @@ -16,14 +18,11 @@ RDEPEND=" net-libs/libpcap sys-libs/ncurses:= " -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -S=${WORKDIR}/"zniper" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_prepare() { + default sed -i \ -e 's| -o | $(LDFLAGS)&|g' \ -e 's|@make|@$(MAKE)|g' \ |