blob: 2cd3019cb27a0c2c0581de8501c605aac4a70eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=SAPER
DIST_VERSION=0.18
DIST_EXAMPLES=( "eg/*" )
inherit perl-module eutils
DESCRIPTION="Interface to the pcap(3) LBL packet capture library"
SLOT="0"
KEYWORDS="~alpha amd64 ppc x86"
IUSE=""
RDEPEND="net-libs/libpcap
dev-perl/IO-Interface"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-${DIST_VERSION}-test-error.patch"
)
src_test() {
if [[ $EUID != 0 ]]; then
elog "Comprehensive testing of this module requires root permissions."
elog "For details, see:"
elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
fi
perl_rm_files t/pod{,cover,spell}.t t/distchk.t t/portfs.t
perl-module_src_test
}
|