summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-07 10:19:06 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-07 10:25:49 +0200
commit3484fcc841243f98857f29b33c44d4a2aed481bf (patch)
treed6173b848609f58a44dcae9dbc200b2eaa1b6a1a /net-misc/tcpsound
parentdev-python/pip: stable 20.1.1 for ppc (diff)
downloadgentoo-3484fcc841243f98857f29b33c44d4a2aed481bf.tar.gz
gentoo-3484fcc841243f98857f29b33c44d4a2aed481bf.tar.bz2
gentoo-3484fcc841243f98857f29b33c44d4a2aed481bf.zip
net-misc/tcpsound: Decompress manual page
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Closes: https://bugs.gentoo.org/show_bug.cgi?id=740786 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-misc/tcpsound')
-rw-r--r--net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild b/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild
index fe5bb78e69cc..9791ba1a3d47 100644
--- a/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild
+++ b/net-misc/tcpsound/tcpsound-0.3.1-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2020 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="Play sounds in response to network traffic"
LICENSE="BSD"
@@ -17,15 +17,17 @@ DEPEND="
net-analyzer/tcpdump
"
RDEPEND="${DEPEND}"
-
DOCS=( README.txt elaborate.conf )
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-makefile.patch \
- "${FILESDIR}"/${P}-misc.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-misc.patch
+)
src_compile() {
emake CC="$(tc-getCC)"
}
+
+src_install() {
+ default
+ gunzip $(find "${ED}" -name '*.[0-9].gz') || die
+}