commit:     69b1d4acd358834a5c7028aab741694980a969d3
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 19:05:14 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 19:05:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69b1d4ac

net-analyzer/rtpbreak: Port to EAPI 8

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 ...{rtpbreak-1.3a-r1.ebuild => rtpbreak-1.3a-r2.ebuild} | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild 
b/net-analyzer/rtpbreak/rtpbreak-1.3a-r2.ebuild
similarity index 72%
rename from net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild
rename to net-analyzer/rtpbreak/rtpbreak-1.3a-r2.ebuild
index 557c9895694..bdd5d139be1 100644
--- a/net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild
+++ b/net-analyzer/rtpbreak/rtpbreak-1.3a-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Analyze any RTP session through heuristics over UDP network 
traffic"
 HOMEPAGE="http://xenion.reactive-search.com/?page_id=7";
@@ -17,11 +17,10 @@ DEPEND="net-libs/libnet:1.1
        >=net-libs/libpcap-0.7"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-       # Use limits.h PATH_MAX
-       epatch "${FILESDIR}"/${P}-limits.patch \
-               "${FILESDIR}"/${P}-missing-headers.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-limits.patch
+       "${FILESDIR}"/${P}-missing-headers.patch
+)
 
 src_compile() {
        emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -29,6 +28,6 @@ src_compile() {
 
 src_install() {
        dobin src/rtpbreak
-       dodoc CHANGELOG THANKS
-       dohtml -r doc
+       einstalldocs
+       dodoc -r doc
 }

Reply via email to