dev-perl/Net-Pcap - 0.210.0 (gentoo)

Search

Package Information

Description:
Interface to the pcap(3) LBL packet capture library

Ebuild Details

Version EAPI Keywords Slot
0.210.0 8 ~alpha amd64 ppc x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=CORION
DIST_VERSION=0.21
DIST_EXAMPLES=( "eg/*" )
inherit perl-module

DESCRIPTION="Interface to the pcap(3) LBL packet capture library"

SLOT="0"
KEYWORDS="~alpha amd64 ppc x86"

RDEPEND="
	net-libs/libpcap
	dev-perl/IO-Interface
"
DEPEND="${RDEPEND}"

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
}

Dependencies

DEPEND

	net-libs/libpcap
	dev-perl/IO-Interface

RDEPEND

	net-libs/libpcap
	dev-perl/IO-Interface