blob: 4aa91e4005cfd847b1c3250af32b6ec60b4a0257 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=CRAZYDJ
DIST_VERSION=1.0.11
DIST_A_EXT=tgz
DIST_WIKI="tests"
inherit perl-module
DESCRIPTION="Perl extension for creating ARP packets"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-perl/Net-Pcap"
BDEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/1.0.9-header.diff"
"${FILESDIR}/${PN}-1.0.9-perl-5.26.patch"
)
src_prepare() {
if [[ -z $TEST_ARP_IF ]]; then
perl_rm_files t/send_packet.t
fi
perl -MDevel::PPPort -e 'Devel::PPPort::WriteFile();'
perl-module_src_prepare
}
|